Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 2 of 2

This is a discussion on RoR app: script/console in the Shared & Semi-Dedicated forum
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 ...

  1. #1
    JPC Member
    Join Date
    Jun 2009
    Posts
    3

    RoR app: script/console

    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?

  2. #2
    JPC Dream Team JPC-Bilal's Avatar
    Join Date
    Nov 2006
    Posts
    1,175
    This issue has been resolved now and I have updated the related ticket. Please follow us up in that one if you have further queries or facing problems.

    Thank you.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •