Forum: Ruby on Rails console and webrick problems

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D2b2017098da3e2fd1cdcfbb72ecdbfb?d=identicon&s=25 Jason Edgecombe (Guest)
on 2005-12-14 17:48
(Received via mailing list)
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
3203ed0e608d3bfae1e31282e629ffa2?d=identicon&s=25 Peter Fitzgibbons (Guest)
on 2005-12-14 18:49
(Received via mailing list)
On 12/14/05, Jason Edgecombe <jedgecombe@carolina.rr.com> wrote:
> `exec': No such file or directory - irb  -r irb/completion -r
>         from script/console:3
> Jason
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.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.

--
D2b2017098da3e2fd1cdcfbb72ecdbfb?d=identicon&s=25 Jason Edgecombe (Guest)
on 2005-12-14 20:22
(Received via mailing list)
Peter Fitzgibbons wrote:

>     error as the console:
>     `require'
>     packages from fedora.
>
>
>
> 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
This topic is locked and can not be replied to.