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 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!