Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rbenv_gem to allow for local .gem installs #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

etdsoft
Copy link

@etdsoft etdsoft commented Sep 21, 2014

I believe this is the change your requested in #47.

A new code path is introduced where we detect a :source option that ends
with ".gem" and don't include any "--source" arguments in our call to
the gem command. This has the intended behavior of installing the .gem
file passed as source.

For example:

rbenv_gem 'god' do
  ruby_version '2.0.0-p353'
  source '/tmp/god-0.13.4.gem'
end

Also took the opportunity to update the --source line from http:// to https://

A new code path is introduced where we detect a :source option that ends
with ".gem" and don't include any "--source" arguments in our call to
the gem command. This has the intended behavior of installing the .gem
file passed as source.

For example:

rbenv_gem 'god' do
  ruby_version '2.0.0-p353'
  source '/tmp/god-0.13.4.gem'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant