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 trialNoam Segal
4,545 PointsCan't install Ruby VM on Ubuntu 15.04
Hello everyone!
I hope you can assist me with the following.. Like quite a few people/developers I know, I run Ubuntu (15.04) on my laptop. I don't really have access to another machine/OS, and I'd rather use a Linux based machine anyway.
However, Treehouse doesn't seem to do much to support Linux users, and based on the Forums and other resources on your website it seems Ubuntu users like me basically need to follow "Mac" instructions whenever relevant and make the necessary adjustments.
I'm trying to complete the "Rails Development" track, but I'm stuck on the "Installing a Ruby Development Environment" stage because of a problem I'm encountering. I had no trouble installing Virtualbox, its extensions and Vagrant. I also successfully downloaded the Treehouse VM zip file (though the instructions on the video are incorrect/outdated).
But.. (and this is where I get to the precise problem), when I run "vagrant up" I get a "default: Warning: Connection timeout. Retrying..." message, and it never connects.
I hope you can help, and I also hope you can increase support for Linux users like myself.
Thanks in advance, Noam.
p.s. side note - when I tried running a local rails server the 3000 port was taken by a process related to Virtual Box. Solved that, but I wonder if there's a way to prevent that from happening?
1 Answer
Jason Seifer
Treehouse Guest TeacherHi Noam Segal! Does it say anything besides "Connection Timeout"? What happens if you restart your computer and try again? Can you try putting the following in your Vagrantfile
and paste a screenshot of any errors:
config.vm.provider :virtualbox do |vb|
vb.gui = true
end
If you can't get that working, I recommend following this workshop for an ubuntu specific installation.
Noam Segal
4,545 PointsNoam Segal
4,545 PointsHi Jason,
Thanks for the quick response! To answer your questions:
Treehouse issue
Still getting the same issue, but perhaps now you have more info to go on.
As for the workshop, I didn't have any trouble installing ROR locally, I'm good on that front. Just wanted to get the VM to work, figured we'd be using it for the rest of the track and perhaps other workshops/courses. Not to mention – I don't like leaving a mystery unsolved..
Thanks again, Noam