I read a lot of articles regarding installing Ruby 1.9
and Ruby on Rails 3.2.3
on Ubuntu 12
. And I've installed them previously. But it took much time, about 5 days. I made many mistakes and I was very tired of that.
Now I need to do it again. Obviously I want it to be effortless and correct. Like in Windows using Rails installer and Ruby installer.
Can anyone give me a link about how to install them correctly(!)? Or maybe you know the right way?
To install Rails, use the gem install command along with the -v flag to specify the version. For this tutorial, we will use version 5.2. 0 : gem install rails -v 5.2.
Use RVM (Ruby Version Manager) to install and manage any versions of Ruby. You can have multiple versions of Ruby installed on the machine and you can easily select the one you want. And let it work. After that you will have RVM along with Ruby installed.
Follow this and enjoy
Install Ruby and Rails completely with chruby
I would use RVM. I found it super easy to install and it maintains different per-user (or system-wide if you wish) gemsets for different projects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With