AnApprentice
AnApprentice

Reputation: 110960

How to unpack a gem from github and specify the branch?

in my gemfile I use a gem that points to git and a specific branch. How can I unpack a gem in my vendors/gem folder and specify the branch like so?

gem 'devise-async', :git => 'git://github.com/mhfs/devise-async.git', :branch => 'master'

Thanks

Upvotes: 2

Views: 519

Answers (1)

Vapire
Vapire

Reputation: 4578

After you executed bundle install in your Rails app, you could try the bundle open devise-async to open the gem in your editor and then just save it away?

There's also bundle cache which caches all the used gems of your app in vendor/cache, but I don't know exactly in which kind...

Hope this helps!

Upvotes: 2

Related Questions