Ruby on Rails Issue

1) First remove all gems
Code:

gem uninstall rails
gem uninstall mongrel
gem uninstalled fastthread

2) Now run cPanel’s Ruby installation script
Code:

/scripts/installruby

3) Now second command as required by cPanel
Code:

/usr/local/cpanel/bin/ror_setup

4) It seems cPanel’s “fast head” forgets to install, fast Thread
Code:

gem install fastthread

5) App’s don’t run still? – The issue in my case was outdated GEM! Mongrel did not want to run with the old version. So run:
Code:

gem update –system

6) Restart cPanel (not required but I like to do it)
Code:

/etc/init.d/cpanel restart

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s