The book says to change to the shovell directory and type in
rails script/server and it will boot WEBrick
What I get is :
./script/../config/boot.rb:29: undefined method 'gem' for main:Object <NoMethodError> from script/server:2
What gives?
| SitePoint Sponsor |
The book says to change to the shovell directory and type in
rails script/server and it will boot WEBrick
What I get is :
./script/../config/boot.rb:29: undefined method 'gem' for main:Object <NoMethodError> from script/server:2
What gives?
Hi,
the 'gem' command was introduced in a more recent RubyGems version than what might be installed on your system. Try to run:
to update your installed copy. (You might have to use 'sudo' to execute the command as root.)Code:gem update --system
Best,
Patrick
My apologies - a quick reboot of the system took care of the problem. I realize I should have done that PRIOR to posting my (imagined) problem.
You may beat me now!
Thanks.
Bookmarks