What is Ruby?
Ruby is a dynamic programming language developed by Yukihiro Matsumoto in the mid-1990s. It supports multiple programming paradigms, including functional, object-oriented, and imperative.
This box installs the desired version of the Ruby programming language.
MVC architecture: Ruby on Rails is based on the MVC (Model View Controller) architecture that enables the data to be separated from presentation.
Database Access Library: Ruby on Rails includes a database access library - Active Record - that simplifies data handling in databases. Active Record automatically maps tables to classes and rows to objects.
Libraries for common tasks: Ruby on Rails includes a host of libraries that simplify the coding of common programming tasks such as form validations, sessions management, etc.
AJAX Library: An extensive library of AJAX functions is provided in the Rails framework. Ruby code can be used to generate AJAX code. The associated java scripting required for AJX gets generated automatically.
Convention over configuration: Ruby on Rails does not have any XML configuration files. It includes simple programming conventions that can be used to specify the configuration parameters.
Customized URL: Custom or Search Engine Friendly URLs can be developed using the Ruby on Rails framework.
Debugging: Detailed error logs are provided, making it easier to debug applications.
Components: Components can be used to store reusable code. Components can be included to modularize templates.
RVM_RUBY_VERSION: The version of Ruby that will be installed using the Ruby Version Manager. [2.1.2 as default value]
An instance executing this box will use Bash scripting to download, install and configure Ruby. Box events handle the Ruby instance lifecycle as follows:
pre_install: Installs the chosen Ruby version using the Ruby Version Manager (RVM).
The box supports deploying to these linux distributions:
Amazon Linux AMI 2015.03
Centos 6.5, 7
Ubuntu 12.04, 14.04