Hi, I''m having errors when running webrick or the console. webrik starts, but give me an error when I try to load my controller. It give the same error as the console: #ruby script/console Loading development environment. /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/console.rb:23:in `exec'': No such file or directory - irb -r irb/completion -r script/../config/../config/environment --prompt-mode simple (Errno::ENOENT) from /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/console.rb:23 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'' from script/console:3 My app works on windows, where I develop, but i haven''t gotten it to work on my fedora 3 server yet. I''ve got gnu realine and ncurses installed as suggested in the ruby realine docs. I''m using the ruby packages from fedora. Any insights? Sincerely, Jason
On 12/14/05, Jason Edgecombe <jedgecombe-iK5jlJkdgf9Jm/Hvfsr4+Q@public.gmane.org> wrote:> > Hi, > > I''m having errors when running webrick or the console. webrik starts, > but give me an error when I try to load my controller. It give the same > error as the console: > > #ruby script/console > Loading development environment. > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/console.rb:23:in > `exec'': No such file or directory - irb -r irb/completion -r > script/../config/../config/environment --prompt-mode simple > (Errno::ENOENT) > from > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/console.rb:23 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5 > /lib/active_support/dependencies.rb:214:in > `require'' > from script/console:3 > > > My app works on windows, where I develop, but i haven''t gotten it to > work on my fedora 3 server yet. I''ve got gnu realine and ncurses > installed as suggested in the ruby realine docs. I''m using the ruby > packages from fedora. > > Any insights? > > Sincerely, > Jason > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >I''m thinking you''re missing the ruby runtimes in your path. I''ve hit the /usr .vs. /usr/local mixup everytime I''ve tested with linux. -- ------------------------------ Joyeux Noël ------------------------------ Peter Fitzgibbons _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Peter Fitzgibbons wrote:> > > On 12/14/05, *Jason Edgecombe* <jedgecombe-iK5jlJkdgf9Jm/Hvfsr4+Q@public.gmane.org > <mailto:jedgecombe-iK5jlJkdgf9Jm/Hvfsr4+Q@public.gmane.org>> wrote: > > Hi, > > I''m having errors when running webrick or the console. webrik starts, > but give me an error when I try to load my controller. It give the > same > error as the console: > > #ruby script/console > Loading development environment. > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/console.rb:23:in > `exec'': No such file or directory - irb -r irb/completion -r > script/../config/../config/environment --prompt-mode simple > (Errno::ENOENT) > from > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/console.rb:23 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > from > /usr/lib/ruby/gems/1.8/gems/activesupport- > 1.2.5/lib/active_support/dependencies.rb:214:in > `require'' > from script/console:3 > > > My app works on windows, where I develop, but i haven''t gotten it to > work on my fedora 3 server yet. I''ve got gnu realine and ncurses > installed as suggested in the ruby realine docs. I''m using the ruby > packages from fedora. > > Any insights? > > Sincerely, > Jason > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > I''m thinking you''re missing the ruby runtimes in your path. I''ve hit > the /usr .vs. /usr/local mixup everytime I''ve tested with linux.ugh! I hadn''t installed the irb rpm for fedora 3! It should be named ruby-irb. No wonder I missed it! That mystery is solved. Thanks, Jason