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,347 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,347 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,347 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,347 Points

When I type vboxmanage list vms I get this:

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