Installing Ruby GEMS (and Rails)

/ Published in: Ruby
Save to your folder(s)
If you run into problems with MAMP, follow this:

Copy this code and paste it in your HTML
  1. gem -v (list what version)
  2. which gem (where is it located?)
  3. gem list (show packages)
  4. sudo gem update --system (sudo takes it to the top level repository, not only local user)
  5. gem --help
  7. <!-- Installing Rails -->
  8. sudo gem install rails
  9. sudo gem install mysql2
  10. => WEBrick (rails native webserver!)

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.