mjw
2007-Jun-01 02:07 UTC
lighttpd won''t start up. I''m new to ruby, please bare with me.
I am running Ruby on an iMac (intel based). Here is the error message I am getting. I have a feeling this is "easy" to fix, but I cannot find anything on it using goggle. I created a rails project named ''railslist'' at which point I need to start up / configure the webserver (according to the book). The book says to run this command at the shell prompt: ruby script/server ... at which point I get this error message. :~/railslist mjw$ ruby script/server ./script/../config/boot.rb:29: undefined method `gem'' for main:Object (NoMethodError) from script/server:2 :~/railslist mjw$ Thanks in advance, MJW --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
mixplate
2007-Jun-01 05:13 UTC
Re: lighttpd won''t start up. I''m new to ruby, please bare wi
did you also create your databases and fill out your database.yml file? mjw wrote:> I am running Ruby on an iMac (intel based). Here is the error message > I am getting. I have a feeling this is "easy" to fix, but I cannot > find anything on it using goggle. I created a rails project named > ''railslist'' at which point I need to start up / configure the > webserver (according to the book). The book says to run this command > at the shell prompt: ruby script/server ... at which point I get this > error message. > > :~/railslist mjw$ ruby script/server > ./script/../config/boot.rb:29: undefined method `gem'' for main:Object > (NoMethodError) > from script/server:2 > :~/railslist mjw$ > > > Thanks in advance, > > MJW-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---