Fixing: undefined method `require_gem’ for main:Object (NoMethodError)
After upgrading to the newest version of rails (2.2.2) I was getting this error: administrator@shuttle:~$ rails -v/usr/bin/rails:17: undefined method `require_gem’ for main:Object (NoMethodError) Anytime I called “rails” I would get this error and could not get past. Here is the fix administrator@shuttle:~/$ sudo vim /usr/bin/rails Look for anywhere in the file that calls “require_gem”, I [...]
Posted on February 14, 2009 at 9:42 am by nickdenardis · Permalink
· 2 Comments
In: rails, software · Tagged with: fix, rails, ruby
In: rails, software · Tagged with: fix, rails, ruby
