Rails 1.2.1 console not working

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:

[email protected]:~/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:inrequire’
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?

Never mind, it looks like I don’t have IRB installed…

Brian C. 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.

On Sat, 2007-01-20 at 19:31 +0100, Brian C. 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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs