Need help?

Support Site | Contact Us

Tag Archives | Cloud Linux

Converting cPanel servers to CloudLinux

Over at Krystal we’ve started provisioning all of our UK hosting servers with Cloud Linux. So far we’ve had a great experience with both new servers and converting CentOS over.

Over the last few weeks we’ve converted most of our shared hosting fleet of servers over to Cloud Linux to improve our hosting solution. For the reasons why, please read on…

Continue Reading →

Comments { 0 }

Centos 5 cPanel rails: no such file to load — readline (LoadError)

On our latest cPanel hosting servers running CloudLinux 5.5 (Centos 5.5) we ran the rails installation script to install rails.

/script/installruby

However when any user tried to start a rails application, or a rails console, the following error appeared:

Loading production environment (Rails 2.3.11)
/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:254:in `require'
from /usr/lib/ruby/1.8/irb/init.rb:254:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:252:in `each'
from /usr/lib/ruby/1.8/irb/init.rb:252: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

This is easily fixed by typing the following as root :

# yum install ncurses-devel readline-devel libncurses5-dev
# /scripts/installruby --force

Rails should now work with cPanel’s inbuilt functionality.

Comments { 0 }