Ruby on Rails - installation of rails 5 on rvm ruby on rails- ruby on rails tutorial - rails guides - rails tutorial - ruby rails
installation of ruby on rails 5 on rvm
RVM is a great tool to manage your ruby versions and set up your working environment. Assuming you already have RVM installed, to get the latest version of ruby, which is needed for these examples, open a terminal and run:
$ rvm get stable
$ rvm install ruby --latest
Clicking "Copy Code" button will copy the code into the clipboard - memory. Please paste(Ctrl+V) it in your destination. The code will get pasted. Happy coding from Wikitechy - ruby on rails tutorial - rails guides - ruby rails - rubyonrails - learn ruby on rails - team
Check your ruby version by running:
$ ruby -v
> ruby 2.3.0p0
Clicking "Copy Code" button will copy the code into the clipboard - memory. Please paste(Ctrl+V) it in your destination. The code will get pasted. Happy coding from Wikitechy - ruby on rails tutorial - rails guides - ruby rails - rubyonrails - learn ruby on rails - team
To install Rails 5, first create a new gemset using the latest ruby version and then install rails:
$ rvm use ruby-2.3.0@my_app --create
$ gem install rails
Clicking "Copy Code" button will copy the code into the clipboard - memory. Please paste(Ctrl+V) it in your destination. The code will get pasted. Happy coding from Wikitechy - ruby on rails tutorial - rails guides - ruby rails - rubyonrails - learn ruby on rails - team
To check your rails version, run:
$ rails -v
> Rails 5.0.0