Difficulty: Beginner
Estimated Time: 10 minutes

Learn how to step-up ruby on rails environment and Postgresql on ubuntu.

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Ruby on Rails environment

step 1

Installing RVM & Nodejs

To install these packages click on the link below

sudo apt-get install nodejs -y gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 \curl -sSL https://get.rvm.io | bash -s stable --rails

Installing Postgresql

To install the Postgresql click on the link below

sudo apt-get install libpq-dev apt-get install postgresql postgresql-contrib -y

To check whether all packages are installed use the following commands
  • rails -v
  • ruby -v
  • nodejs -v
  • psql --version