I'm currently on the Web Development 101 >> The Basics >> Project Installations section where it's instructing all those following along to decide on an environment. Yes, I did go ahead and sign up for a free account on the Nitrous website just to check it out. If you click the link on the Odin Project website that takes you to the Nitrous website, you do get a free account. Going directly to the Nitrous website won't allow you to setup a free account.
Even though I setup an account on Nitrous, if I am going to want to plant myself into a development position, I need to get as familiar with the Linux platform as best as I can so I'm following along with the Linux environment setup. The Odin Project points it's followers to the RailsBridge Installfest webpage to setup an environment. If you get errors setting up your environment, they strongly encourage you to go through Nitrous.
I went ahead and followed the directions found on RailsBridge but ran into an error trying to install RVM. They also don't mention anything about modifying your bashrc file. In the past, I've also followed the setup instructions on the GoRails website. I'm going to list below the steps I took to get my environment setup but will give the readers digest version. If you want more of an explanation on these steps, please click on the appropriate link above.
I use Windows because that is what I'm most familiar as well as that is the platform that we must use where I work. So I use virtual machines with Linux installed. My current choice of Linux flavor is Ubuntu. I created a brand new machine with version 14.04. I installed SPE (for when I do get back to learning Python). I was using Scite but then I tried Geany out one day and fell in love with it because of the option to have a terminal window within one program and I don't have to switch back and forth when I want to try something out in IRB. To each their own on which editor you choose.
From the point of having Ubuntu installed and updated along with having an editor ready to go, I performed the following steps in the terminal...
sudo apt-get install autoconf automake bison build-essential curl git-core libapr1 libaprutil1 libc6-dev libltdl-dev libreadline6 libreadline6-dev libsqlite3-0 libsqlite3-dev libssl-dev libtool libxml2-dev libxslt-dev libxslt1-dev libyaml-dev ncurses-dev nodejs openssl sqlite3 zlib1g zlib1g-devNote: Do not copy and paste the above into your terminal window. Type it all out.
If you are running Ubuntu 12.04 or 14.04, click on the Edit option on your terminal window, choose the Profile Preferences option, select the Title and Command tab and finally make sure there is a check mark next to the Run command as a login shell box. Click on the close button and then restart your terminal session.
Now to install RVM (assuming you don't want to use rbenv). Instructions I've read from a few websites state to run this line...
curl -L get.rvm.io | bash -s stable
...I get a "GPG signature verification failed..." message when I try and download rvm. A few lines below that error message it tells me to run...
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
If that fails, you can run the following...
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
The line on your screen may be different. After obtaining the key, I'm now able to run the curl line above.
When I try and run...
type rvm | head -1
...I get "-bash: type: rvm: not found". When I close the terminal again and restart it and run the above command, I get...
rvm is a function
...which is a good thing. Next, enter the following two lines to update your environment and to make the appropriate change to your bashrc profile...
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
Next install RVM with the following...
rvm install 2.2
This process took 5 minutes on my machine. On the last line you see after the above process completes is "Ruby was built without documentation, to build it run: rvm docs generate-ri". I personally like to have my documentation local so I went ahead and ran...
rvm docs generate-ri
This process took 1-2 minutes. Next, type in the following two commands...
rvm use 2.2
rvm --default use 2.2
To test your installation, type the following...
ruby -v
Last but not least, install rails with the following...
gem install rails
That's all I will cover for this entry. I'm still new to all of this but I've read a lot of blogs and documentation on the install. If I've messed something up, by all means, please comment.