How to point gem branch path in gemfile.
This is what i am doing :
gem 'rails', path: '/home/ubuntu/workspace/Fork/rails', :branch => 'any_of'
but when i run bundle update
, it's not show any branch like sprockets-rails.
Using sprockets-rails (2.0.0.rc4) from git://github.com/rails/sprockets-rails.git (at master) Using rails (4.1.0.beta) from source at /home/ubuntu/workspace/Fork/rails
Is there any typo?
In your app run this command.
bundle config local.rails /home/ubuntu/workspace/Fork/rails
Then in your Gemfile you specify the github source which will be overridden.
gem 'rails', :github => 'rails/rails', :branch => 'any_of'
Source: http://gembundler.com/v1.3/git.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With