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 trialDaniel Deng
Courses Plus Student 4,322 PointsMy Mac hangs on "gem install bundler".
Does anybody know what's going on?
3 Answers
Daniel Deng
Courses Plus Student 4,322 PointsWhen 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
21,887 PointsDaniel Deng Please could you paste the error output here?
Also try sudo gem install bundler
Daniel Deng
Courses Plus Student 4,322 PointsOk, here is the solution to get around the "unable to connect to https://rubygems.org ..." problem:
- Goto rubygems.org and register as an user, and log back in.
- 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".
- On your Mac terminal, cd ~/Downloads
- Do "gem install ./bundler-1.6.4.gem"
- 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!