My (Ruby on) Rails setup - Week 3 - Sept 22 - 28 - WIP
This is a running work in progress post about what and how I set up my Macbook Pro to develop Rails applications.
Since we studied the Ruby language first in the Viking Code School curriculum, this is in addition to my previous post on my Ruby setup.
I basically did the steps as described on this excellent tutorial by Jump Start Lab (as recommended by dróttinn Erik at the Viking Code School) with some minor changes:
Homebrew's 'brew doctor' command indicated that I did not have the Xcode's Command Line Tools installed amongst some other misc warnings. I didn't pay attention to those since I figured they would dissipate once I updated Xcode (and they did).
I updated Xcode and its Command Line Tools to the latest (6.0.1)
Ruby 2.1 - making it the default version via RVM (previously v2.0.0p481)
Installed Postgres DB
Additionally I made the following aliases in my .bash-profile file so it's easier to start/stop/check the Postgres server:
alias gopostg alias stoppostg alias statpostg
Addendum:
Following Michael Hartl's guide: Ruby on Rails Sublime Text Setup Tutorial, I've added a couple of useful packages to Sublime:
Added SublimeERB
Added Alternative Autocompletion
I did not want to update Git (even thought the post encouraged it) because I am familiar with the version already in place and didn't want to chance breaking it at the moment since I have a mountain of work ahead.
Ironically, the post didn't mention the need to install Rails, but in fairness it was a Ruby tutorial not Rails. I had to look that up on Rails Guide's Getting Started with Rails page to make sure the command was the expected: gem install rails (it was and it installed 25 gems).
NB: Homebrew's 'doctor' call now shows me these warnings when run:
However, since I don't know if "everything [I] use Homebrew for is working fine..." or not (seems to be ok), I'm not going to follow up with the suggested 'prune/link/unlink' methods until I run into a related problem and/or I know more about the system first.
That's it for now; onward to the projects!













