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

Colin Stodd
Colin Stodd
3,160 Points

Trouble Installing ruby gems on Windows irb

I'm going through the "Hashes" tutorials, and when installing the: require 'rubygems' I get a false answer. I've installed it via git (installed ruby on rails before signing up), but I keep getting errors when using: gem 'awesome_print' as well.

2 Answers

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey Colin Stodd when you require rubygems that will generally return false. It doesn't necessarily mean that RubyGems hasn't been required in to your session. Try moving on after that and see if you still get errors.

Also, in order to use "awesome_print" try installing that as a gem first:

gem install awesome_print

Then follow along with the lessons.

Colin Stodd
Colin Stodd
3,160 Points

Thanks for your reply Jason. I'll give it a try. Although, I recently installed Ubuntu, and I can now follow along nicely :) I think I'm just going to stick to the UNIX route, but hopefully this helps someone in the future.