Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Windows

zane motiwala
zane motiwala
3,486 Points

gem install bundler not working

I was following along fine but when i type gem install bundler in the cmd prompt on Windows 7 I get the following error:

C:\Users\443966>gem install bundler ERROR: While executing gem ... (Errno::EINVAL) Invalid argument - G:/

2 Answers

Stone Preston
Stone Preston
42,016 Points

can you check and see if you have it installed already? try running

> bundle -v

and see if it spits out a version number.

also verify ruby installed correctly as well

> ruby -v
zane motiwala
zane motiwala
3,486 Points

I have ruby installed but bundle didn't work. It may be a windows 7 issue.

I re did all the steps on my windows 8 laptop and it worked fine so I will just continue the lesson on that laptop.

Thanks for your reply!