- Install Rails as a Ruby Gem – gem install rails -v 3.2.3
- Add the following PPA as a package repository – ppa:chris-lea/node.js
- Install the required python-software-properties package
- Update the package manager
- Install the nodejs package
- Install sqlite3 package
- Install libsqlite3-dev package
- Install the sqlite3 gem – gem install sqlite3 -v 1.3.5
Notes
It is highly recommended that the Rails documentation is generated in order to have an offline Rails API reference. Do the following to create the API reference:
- In your home directory run this command – rails new sample_app
- Navigate to the newly created directory
- Run the following command to generate the documentation – rake doc:rails
- Move the generated documentation from doc/api to your Documents directory
- Rename the moved documentation directory to rails-3.2.3-api-doc
- In the rails-3.2.3-api-doc directory create a shortcut to index.html on your desktop, or view index.html in the web browser and bookmark it
No comments:
Post a Comment