After creating a rails app via cpanel, the script/console command fails.
script/console is a standard utility that comes with every RoR installation. It doesn't require any special setup and should work out of the box. It's a particularly useful tool for debugging production apps.
Here's the output on myshared server:
user@domain [~/public_html/temp]# script/console
Loading development environment (Rails 2.3.2)
/usr/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError)
from /usr/lib/ruby/1.8/irb/completion.rb:10
from /usr/lib/ruby/1.8/irb/init.rb:252:in `require'
from /usr/lib/ruby/1.8/irb/init.rb:252:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:250:in `each'
from /usr/lib/ruby/1.8/irb/init.rb:250:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup'
from /usr/lib/ruby/1.8/irb.rb:54:in `start'
from /usr/bin/irb:13
Various web resources point to this as a known and fixable issue, but requiring root access.
e.g.
http://www.elctech.com/snippets/fixi...rror-in-centos
I've tried to get someone in support to look into this issue, but no joy.
Anyone having the same issue?


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks