Installing Ruby GEMS (and Rails)


/ Published in: Ruby
Save to your folder(s)

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/


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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.