Hi, I am trying my first Rail apps. I had successfully created directory with this command prompt > rails library create create app/controllers create app/helpers ...... However when I tried to run the server, it gives such error: prompt > cd library prompt > ls app components config db doc lib log public Rakefile README script test tmp vendor prompt > ruby script/server ./script/../config/boot.rb:18:in `require'': no such file to load -- rubygems (LoadError) from ./script/../config/boot.rb:18 from script/server:2:in `require'' from script/server:2 Why was that? How can I resolve the problem? I am using: Rails 1.2.2 -- foolishbrat --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi, Check whether ruby installed properly or not.I think problem must be there in ruby installation. On 8/31/07, foolishbrat <ewijaya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Hi, > > I am trying my first Rail apps. > I had successfully created directory with this command > > prompt > rails library > create > create app/controllers > create app/helpers > ...... > > However when I tried to run the server, it gives such error: > > prompt > cd library > prompt > ls > app components config db doc lib log public Rakefile README > script test tmp vendor > prompt > ruby script/server > ./script/../config/boot.rb:18:in `require'': no such file to load -- > rubygems (LoadError) > from ./script/../config/boot.rb:18 > from script/server:2:in `require'' > from script/server:2 > > Why was that? How can I resolve the problem? > I am using: Rails 1.2.2 > > > -- > foolishbrat > > > > >-- Regards, Oviyan Blog : http://www.oviyas.blogspot.com/ contact : +919841141729 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
foolishbrat wrote:> Hi, > > I am trying my first Rail apps. > I had successfully created directory with this command > > prompt > rails library > create > create app/controllers > create app/helpers > ...... > > However when I tried to run the server, it gives such error: > > prompt > cd library > prompt > ls > app components config db doc lib log public Rakefile README > script test tmp vendor > prompt > ruby script/server > ./script/../config/boot.rb:18:in `require'': no such file to load -- > rubygems (LoadError) > from ./script/../config/boot.rb:18 > from script/server:2:in `require'' > from script/server:2 > > Why was that? How can I resolve the problem? > I am using: Rails 1.2.2You need to install RubyGems: http://docs.rubygems.org/read/chapter/3 -- Michael Wang --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
foolishbrat wrote:> Hi, > > I am trying my first Rail apps. > I had successfully created directory with this command > > prompt > rails library > create > create app/controllers > create app/helpers > ...... > > However when I tried to run the server, it gives such error: > > prompt > cd library > prompt > ls > app components config db doc lib log public Rakefile README > script test tmp vendor > prompt > ruby script/server > ./script/../config/boot.rb:18:in `require'': no such file to load -- > rubygems (LoadError) > from ./script/../config/boot.rb:18 > from script/server:2:in `require'' > from script/server:2 > > Why was that? How can I resolve the problem? > I am using: Rails 1.2.2 > > > -- > foolishbratTry www.hivelogic.com for a tutorial on how to install Rails Properly. If this isn''t the problem, then perhaps double check that you are in the right directory - that is, your app directory? -- 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 -~----------~----~----~----~------~----~------~--~---