Forum: Ruby on Rails Rails 1.2.1 console not working

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.
56bd9ff6a09411c6fb47698d64ce194a?d=identicon&s=25 Brian Cardarella (Guest)
on 2007-01-20 19:31
I'm running Rails 1.2.1, Ubuntu Server 6.10 and my console isn't
running... same project checked out via SVN runs in console on my
Windows machine.

error:

brian@rails-server:~/work/mediabump$ ruby script/console
Loading development environment.
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/console.rb:25:in
`exec': No such file or directory - irb  -r irb/completion -r
script/../config/../config/environment -r console_app -r
console_with_helpers --simple-prompt (Errno::ENOENT)
        from
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/console.rb:25
        from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require'
        from script/console:3


Any help?
56bd9ff6a09411c6fb47698d64ce194a?d=identicon&s=25 Brian Cardarella (Guest)
on 2007-01-20 20:00
Never mind, it looks like I don't have IRB installed....

Brian Cardarella wrote:
> I'm running Rails 1.2.1, Ubuntu Server 6.10 and my console isn't
> running... same project checked out via SVN runs in console on my
> Windows machine.
6329e9ce6b0c23f8bcf64a6c46a2bb81?d=identicon&s=25 matt (Guest)
on 2007-01-20 20:27
(Received via mailing list)
On Sat, 2007-01-20 at 19:31 +0100, Brian Cardarella wrote:
> script/../config/../config/environment -r console_app -r
>
> Any help?
>
Well, not to state the obvious,but if you look at the gem path above,
you are using rails-1.1.6 , not the 1.2.1 that you think you're using.

Do the Windows and Linux machines both use the same version of rails? I
would check to see what version the Windows machine is using, since it
seems to work on that machine.
matt
This topic is locked and can not be replied to.