Posted By

jwaldeck on 02/14/11


Tagged


Versions (?)

Installing Ruby GEMS (and Rails)


 / Published in: Ruby
 

http://rubygems.org If you run into problems with MAMP, follow this: http://www.beyondcoding.com/2009/11/10/using-ruby-mysql-gem-with-mamp-1-8-x-on-snow-leopard/

  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
  6.  
  7. <!-- Installing Rails -->
  8. sudo gem install rails
  9. sudo gem install mysql2
  10. => WEBrick (rails native webserver!)

Report this snippet  

You need to login to post a comment.