There is an inbuilt script in cPanel to install ruby and rails.
Login to shell using root user then execute following commands.
[root@root ~]#/scripts/installruby
[root@root ~]#gem install rails
[root@root ~]#gem install mongrel
[root@root ~]# gem install fastthread
Ruby and Rails needs some port to be open in your firewall.
If you are using IPtables then execute following commands to open ports.
iptables -A INPUT -p tcp –dport 3000 -j ACCEPT
iptables -A INPUT -p tcp –dport 12001 -j ACCEPT
Save IPtables and restart it.
Then login to WHM to check whether RoR is installed or not.
No comments:
Post a Comment