Skip to content

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