Just do 'gem install rails'. You can be in the project directory but I don't think you need to since it will go to a global copy in the .rvm directory of your home directory. I never even worried about where it goes. Especially if you are new to this, it's not a thing I would worry about.
Type gem env from a terminal to see where things are installing to. Maybe also look at this: http://stackoverflow.com/questions/3408868/where-do-gems-install Do gem list and you'll see what versions you have installed locally. That can be done either inside or outside a project directory. When you create your new app, you can edit the gemfile and specify specific versions of things in you want. The gem install rails will get you rails 4.1.x but that's probably what you want now if you're just getting started. It's the latest and it works fine for me (ok with a little trouble with turbolinks and some jquery). Older blog posts will likely be describing rails 3.2 or 4.0. If you change your gemfile to reference 3.2 that will load when you bundle. Once you create a specific project, do bundle list to see what gems are being used for that particular project. You can even do things like specifying the ruby version you want for each particular directory (1.9) but just pick a default with the rvm and stick with it for now. Also, you can put the directory anywhere you want. I have a sandbox directory in my home with a rails subdirectory. On Apr 19, 2014, at 2:38 PM, Matt Kazuka <[email protected]> wrote: > Hello, its my first time using ruby or the terminal, I am on Mac OS X > Mavericks. > I am trying to set up ruby on rails, I have got the rvm installed, I > have also created a > "mkdir rails_projects" and I have "cd rails_projects" > > However, I haven't yet install rails, I did it on purpose because I > heard that its better to install it in each project separately instead > of globally. I am however, lost as to where in the project i should > install it at? is it ok if I install in my project directory > "rails_projects" that I created through mkdir? Thank you guys > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/1d8f54bde552cbe908da714193a9ed29%40ruby-forum.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9A3E3686-61CF-4ED8-860F-A2340FB5E272%40btrtrucks.com. For more options, visit https://groups.google.com/d/optout.

