How to install ROR on ubuntu

Posted on Mon 11 August 2014 in misc

  • sudo apt-get install build-essential
  • - This command is to install essential tools for building codes
  • sudo apt-get install ruby 
  • - This command is to install ruby
  • sudo apt-get install ruby-dev 
  • - This command is to install ruby dev, which can solve "`ERROR: Failed to build gem native extension"`
  • `sudo apt-get install rdoc`
  • - `This command is to install r doc, which can solve one issue( i forgot the details :( ) `
  • gem install rails
  • - This command is to install rails