Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Ive been having some issues with Ruby/Rails on my Mac (osX 10.8.5). In the intro tutorial treehouse gets us to install a ruby environment with a successful test app etc... then in a following video "instailling rails (mac)" you download rails/ruby again....
Question is - Is this doubling up on what you have already downloaded using the command line? or are you gaining something different/extra with this download?
Any info would be greatly appreciated.
Stone Preston42,016 Points
Installing A Ruby Development Environment is a separate (and newer) project. It uses rbenv to set up the environment (assuming you dont use the VM).
Build a Simple Ruby on Rails application is older and uses Rails Installer (which doesnt work on Mavericks currently) and RVM (I think? its been a while).
You could "double up" depending on when you last ran gem install rails. If you ran it in the past and installed an older version of rails on your system, running it again will get the newest version so then you would have 2 different versions on your machine (not a bad thing). You could specify which version of rails you actually wanted to use in your gem file, but it will use the newest by default
tldr; They both accomplish the same thing, one uses one method to install, the other uses a different method. However they do the same thing essentially