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! While you're at it, check out some resources Treehouse students have shared here.

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

Ruby Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Mac

My Mac hangs on "gem install bundler".

Does anybody know what's going on?

3 Answers

When do "gem install ./rails-4.1.4.gem", be sure to add "--no-rdoc --no-ri" at its end; otherwise, the terminal may feel like it's hanged.

Alexander Batalov
Alexander Batalov
21,887 Points

Daniel Deng Please could you paste the error output here?

Also try sudo gem install bundler

Ok, here is the solution to get around the "unable to connect to https://rubygems.org ..." problem:

  1. Goto rubygems.org and register as an user, and log back in.
  2. Goto https://rubygems.org/gems/bundler/versions/1.6.4 and download the bundler directly onto your Downloads folder on Mac. The link is above the "Authors".
  3. On your Mac terminal, cd ~/Downloads
  4. Do "gem install ./bundler-1.6.4.gem"
  5. The result will be: " Successfully installed bundler-1.6.4 Parsing documentation for bundler-1.6.4 Installing ri documentation for bundler-1.6.4 Done installing documentation for bundler after 2 seconds 1 gem installed "

Voila!