Skip to content
This repository was archived by the owner on Jan 15, 2023. It is now read-only.

Install Bundler on build image#145

Merged
mhart merged 1 commit intolambci:masterfrom
ojongerius:install_bundler
Dec 18, 2018
Merged

Install Bundler on build image#145
mhart merged 1 commit intolambci:masterfrom
ojongerius:install_bundler

Conversation

@ojongerius
Copy link
Contributor

No description provided.

@mhart
Copy link
Member

mhart commented Dec 18, 2018

It's there already:

docker run --rm lambci/lambda:build-ruby2.5 /var/runtime/bin/bundler --version
Bundler version 1.17.1

I'll check why /var/runtime/bin isn't in the PATH (it might be that the ruby bootstrap modifies the PATH)

@ojongerius
Copy link
Contributor Author

Awesome, interested to see what caused it!

@ojongerius ojongerius closed this Dec 18, 2018
@mhart
Copy link
Member

mhart commented Dec 18, 2018

Well /var/runtime/bin isn't added to PATH in Lambda – I have no idea why Amazon put bundler there.

I actually think this is a better solution than adding /var/runtime/bin to the PATH, so I'm going to reopen this.

@mhart mhart reopened this Dec 18, 2018
@mhart mhart merged commit 16c294c into lambci:master Dec 18, 2018
@mhart
Copy link
Member

mhart commented Dec 18, 2018

Just pushed out a new version of build-ruby2.5 with this included – thanks for the contribution!

@ojongerius
Copy link
Contributor Author

Thanks for the quick turnaround!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants