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 Ruby Foundations Ruby Basics Installing Ruby

James demby
James demby
10,296 Points

If using the VM do I need to install ruby? I did vagrant ssh and within the vm did "ruby -v" it showed me a version.

If it shows me one I guess I am okay as long as I am ssh'ed into that VM right?

James demby
James demby
10,296 Points

Based on what I said above, I do not need to do anything in this video right?

3 Answers

Hi James -

The VM has everything pre-installed, so you should be good to go.

I used to use the treehouse VM on a Windows laptop, but I migrated to a linux machine, because of problems with the VM. I experienced connection and lag issues when using the VM. Also, I ran into problems installing a gem. The system would not install the gem. After I natively install my Rails/Ruby development environment on Linux everything works great. I should have gone the Linux route in the beginning! That was my experience. The VM may work just fine for you. I just thought I'd share what I went through trying to use the VM on my Windows box.

Best of luck!

Ronald

James demby
James demby
10,296 Points

Thanks Ronald,

I think I ran into that gem issue as well. My todo (odot) app work is stuck at

"Could not fetch specs from http://rubygems.org/"

When you say you migrated to a Linux machine, do you mean a new computer or do you boot up in a different environment. I do not have any experience with Linux.

Should I just stop trying to do this Ruby track until I can get away from Windows?

James, I neglected to answer one part of your question. You also asked if I ran my Rails environment on a new computer or via dual boot. I dual boot my system so I can use Linux Ubuntu for development and Windows when I need it.

Ronald