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

dylan kane
dylan kane
2,772 Points

gems for ruby on rails

i am trying to install gems in cmd like the ruby install video says to, but i keep getting the response of "could not find a valid gem ..."

gems are bundler and sqlite, my version of ruby is 2.1.5p273 and it is x64

2 Answers

Maciej Czuchnowski
Maciej Czuchnowski
36,440 Points

https://teamtreehouse.com/forum/i-get-the-error-message-could-not-find-a-valid-gem-bundler-0-in-any-repository-how-can-i-fix-this-issue

Second response from Michael Day and comment by Lonnie Parker.

If you are using Windows, consider using a virtual machine (VMWare Player or VirtualBox) with Linux in the future, since Rails development under Windows is often problematic and there's less support on the Internet.

Allen Wang
Allen Wang
3,439 Points

I found this link which might be useful, it took me awhile to go through all the steps but I was able to finally get sqlite3 gem working: http://rubyonwindowsguides.github.io/book/ch02-04.html