Knowledgebase
Get Started with Ruby On Rails
Posted by on 16 December 2013 01:10 PM

Don't know where to start with Ruby on Rails? We've got you covered!

Note: you will need SSH access to use Ruby on Rails, which is not provided by default. Simply file a support ticket and we'll have it enabled for you as soon as possible. 

Ruby On Rails

Ruby On Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. From the Ajax in the view, to the request and response in the controller, to the domain model-wrapping the database, Rails gives you a pure-Ruby development environment. To go live, all you need to add is a database and a web server.

Note: we use Ruby with Passenger while cPanel uses Ruby with Mongrel, so the cPanel Ruby app is not available.

Here are a few guides for getting set up:

Get Ruby on Rails Up and Running
Deployment of an Existing Ruby on Rails Application
Deploying a New Rails App
Convert a FastCGI App to Passenger

Just Ruby (without Rails)

If you would like to use Ruby without the Rails framework (just like PHP is used) then you probably want to learn about eRuby. Although eRuby does not offer the same framework and structure that Ruby on Rails does, it makes it easy to upload a Ruby script file (an 'rhtml' file) that works once uploaded. There is no need to start or stop a server like you have to do with Rails. 

Getting Started with eRuby

 

 


(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako fusion