General Question  VoodooLogic's avatar  Why does "ruby1.8
script/console" fails to invoke ruby1.8?  Asked by VoodooLogic
(721 points ) March 11th, 2011  I’m having problems with Ruby on
Rails in Ubuntu. I’ve got both versions of ruby installed on my
local machine. My current project in Rails is running 2.3.5
Rails and running ruby versrion 1.9 breaks both “script/server”
and “script/console”.  If I run ruby1.8 script/server,
everything works fine. However, if I run ruby1.8 script/console,
it breaks with errors in ruby 1.9.  Has anyone else experience
this and if so, is it an Ubuntu issue or a rails issue?
Observing members: 0 Composing members: 0  2 Answers  koanhead's
avatar  I’m not a Rails guru, but I have been poking around
lately with a Rails app under Debian. Apparently Rails’ API is
frequently broken between major versions. If your scripts are
written for Rails 1.8, running them under Rails 2.0 will almost
certainly break them without some glue code to smooth over the
differences. For example (and IIR