3. INSTALLING RUBY ON RAILS
if (using linux) {
Jump to next slide for detailed instructions
}
else {
Visit http://rubyonrails.org/download
Follow instructions on the page for your OS
}
4. ROR ON UBUNTU
•Follow tutorial at http://ryanbigg.com/2010/12/ubuntu-ruby-
rvm-rails-and-you/
•Do not install Ruby/Rails from ubuntu repository.
•Install RVM (Ruby Version Manager)
•Install core libraries for Ruby
•Install Ruby 1.9.3 using RVM
•Install Rails 3.2.3 using gem command
•Install a code editor - vim/emacs/gedit
5. SETTING UP THE APP
•Check ruby & rails version => execute ‘ruby -v’, ‘rails -v’ on
the console
•Create a directory for rails app. Create a new rails app (below
commands are executed on the console)
•mkdir rails_project
•cd rails_project
•rails new stalkninja_course_app
•bundle install
• If it all goes well, you are now ready to design the app