Day Two

Today I’m heading to Calgary for a Ladies Learning Code Course on Ruby. On the bus ride down, I decided to re-start Treehouse’s “Build a Rails App” project, to see how much I’ve gleaned from the first go-round.

The first wall I hit is that I don’t entirely understand how Rails gets installed. I currently have it functioning for work-related projects, but it seems like any time I start a new working directory, I need to re-install it. Or something. Furious googling leads me to believe that my issue relates to the Ruby version management tool I’m using. I’m only 30% clear on exactly what that means, but according to this blog post, there are two main choices for version management, rvm and rbenv. At the office, we use rbenv. Or rather, a chivalrous programmer set it up with rbenv on my behalf.

So if I do have to install ruby every time I start a new project, do I also choose a different rvm tool every time? Is my choice of rvm global on my computer, or is it localized to the project? I have no answer for this yet, but following this tutorial has allowed me to get a directory up and running to work on the treehouse tutorial. And now in my terminal, when I type ‘rvm’ or ‘rbenv’, I get documentation for each one, which leads me to believe the rvm is used on a per project basis.

Reading for tomorrow:

http://net.tutsplus.com/tutorials/why-you-should-use-rvm/

http://net.tutsplus.com/sessions/ruby-for-newbies/