Get Started with Ruby On Rails
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 enabled by default.
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
- Deploy an Existing Ruby on Rails Application
- Deploy 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.