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

sahil jain
sahil jain
3,815 Points

vagrant up ==> default: Box 'treehouse-rails4' could not be found. Attempting to find and install...

When I do vagrant up the process keeps getting stuck. What am I doing wrong ? Please help!

1 Answer

Moses Gangipogu
Moses Gangipogu
3,772 Points

as it says "Box 'treehouse-rails4' could not be found. Attempting to find and install..."

there might be multiple reasons for this

1) make sure you are in the right directory

2) make sure you have permissions

3) make sure there is a VagrantFile in there your directory

4) make sure you have the vagrant box in there by listing all the boxes (vagrant box list)

5) if you have the box there try to start the vm machine from your virtual box

6) if its not there then get one from here http://www.vagrantbox.es/

7) make sure you have enough space in your drive

8) if you are try to add a new box then the command should be vagrant box add

9) make sure you are updated to latest version on vagrant