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 Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Generate a Rails Application

Natasha McDiarmid
Natasha McDiarmid
11,400 Points

Error on Vagrant Up

When I type vagrant up I get this error:

An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

Couldn't open file /Users/mcdiarmid/tbird/base

Why?

5 Answers

Natasha McDiarmid
Natasha McDiarmid
11,400 Points

Sorry, I'm a dummy. I was hitting vagrant up in the wrong folder. It's working now.

Hi Natasha,

I think, it doesn't have a box defined yet after created Vagrant project , did you can try "vagrant init hashicorp/precise32" or "vagrant init" and then vagrant up again?

Here's solution: http://docs.vagrantup.com/v2/getting-started/

Natasha McDiarmid
Natasha McDiarmid
11,400 Points

It tells me vagrant already exists when I try what you suggested.

Okay probably VirtualBox IDs are different.

  • Let's type in Windows console --> "vboxmanage list vms" to see ID numbers in between curly brackets

  • then just check your folders --> "vagrantdirectory/.vagrant/machines/default/virtualbox/id" to make sure if it is same ID

  • OR add new ID by typing --> echo "1234564-1234-1234-1234-123456478910" > .vagrant/machines/default/virtualbox/id

Natasha McDiarmid
Natasha McDiarmid
11,400 Points

When I type vboxmanage list vms I get this:

"treehouse_default_1430742622136_83981" {762d3ce4-6f05-4e66-8d5b-75545ae649fa}