Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to modify a gem?

I have a gem to which I'd like to do few changes.

I have it defined in my Gemfile as follows:

gem 'mongo_mapper", :git => "git://github.com/jnunemaker/mongomapper", :branch => "rails3" 

I was not able to find it in /usr/local/ruby/lib/ruby/gems/1.9.1/gems.

like image 960
randomguy Avatar asked Oct 27 '10 20:10

randomguy


People also ask

How do I undo a gem update?

Use git checkout -- Gemfile. lock to revert to your old Gemfile. lock if you've accidentally updated it too.


1 Answers

bundle show mongo_mapper
like image 111
Ben Taitelbaum Avatar answered Oct 15 '22 06:10

Ben Taitelbaum