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

gem install money problem!

Hello,

Concerning the currency video on ruby, as I input gem install money in my interactive ruby prompt. I got this following error:

NameError: undefined local variable or method money' for main:Object from (irb):29 from D:/heroku/ruby-1.9.2/bin/irb:12:in<main>'

3 Answers

You'll need to run the command gem install money from a normal prompt, not from within IRB.

Hello, Thank you for your replies. But I still have trouble installing it. First, in which folder should I install money at? And I got this error when I tried to install money : Installing ri documentation for money-5.1.1... unable to convert U+00A3 from UTF-8 to GBK for lib/money/money/formatting.rb, sk ipping unable to convert U+00A3 from UTF-8 to GBK for lib/money/money/parsing.rb, skipp ing Installing RDoc documentation for money-5.1.1... unable to convert U+00A3 from UTF-8 to GBK for lib/money/money/formatting.rb, sk ipping unable to convert U+00A3 from UTF-8 to GBK for lib/money/money/parsing.rb, skipp ing

Thank you

kyle rees
kyle rees
1,480 Points

this isnt helpfull but damnit i cant help myself

gem install money to wallet