Hi Alvaro

Thank you very much for your help. It worked. 

Thanks
Payam


On Tuesday, June 2, 2015 at 5:46:22 PM UTC-4, Alvaro Miranda Aguilera wrote:
>
> Hello 
>
> The issue is the Vagrantfile doesn't have a box defined. 
>
> the command I gave you is with spaces 
>
>
> mkdir   precise64 
>
> cd        precise64 
>
> vagrant init     -m     hashicorp/precise64 
>
> vagrant    up 
>
>
> Can you test? 
>
>
>
>
> On Tue, Jun 2, 2015 at 10:18 PM, PAYAM SHOGHI <[email protected] 
> <javascript:>> wrote: 
> > Hi Alvaro 
> > 
> > I ran the commands that you gave me, and this is the out put: 
> > 
> > payam@Payams-MacBook-Pro ~/w/precise32> vagrant init-m 
> hashicorp/precise32 
> > 
> > Usage: vagrant [options] <command> [<args>] 
> > 
> > 
> >     -v, --version                    Print the version and exit. 
> > 
> >     -h, --help                       Print this help. 
> > 
> > 
> > Common commands: 
> > 
> >      box             manages boxes: installation, removal, etc. 
> > 
> >      connect         connect to a remotely shared Vagrant environment 
> > 
> >      destroy         stops and deletes all traces of the vagrant machine 
> > 
> >      global-status   outputs status Vagrant environments for this user 
> > 
> >      halt            stops the vagrant machine 
> > 
> >      help            shows the help for a subcommand 
> > 
> >      init            initializes a new Vagrant environment by creating a 
> > Vagrantfile 
> > 
> >      login           log in to HashiCorp's Atlas 
> > 
> >      package         packages a running vagrant environment into a box 
> > 
> >      plugin          manages plugins: install, uninstall, update, etc. 
> > 
> >      provision       provisions the vagrant machine 
> > 
> >      push            deploys code in this environment to a configured 
> > destination 
> > 
> >      rdp             connects to machine via RDP 
> > 
> >      reload          restarts vagrant machine, loads new Vagrantfile 
> > configuration 
> > 
> >      resume          resume a suspended vagrant machine 
> > 
> >      share           share your Vagrant environment with anyone in the 
> world 
> > 
> >      ssh             connects to machine via SSH 
> > 
> >      ssh-config      outputs OpenSSH valid configuration to connect to 
> the 
> > machine 
> > 
> >      status          outputs status of the vagrant machine 
> > 
> >      suspend         suspends the machine 
> > 
> >      up              starts and provisions the vagrant environment 
> > 
> >      version         prints current and latest Vagrant version 
> > 
> > 
> > For help on any individual command run `vagrant COMMAND -h` 
> > 
> > 
> > Additional subcommands are available, but are either more advanced 
> > 
> > or not commonly used. To see all subcommands, run the command 
> > 
> > `vagrant list-commands`. 
> > 
> > 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/kernel_v2/config/vm.rb:198:in
>  
>
> > `[]=': no implicit conversion of Symbol into Integer (TypeError) 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/kernel_v2/config/vm.rb:198:in
>  
>
> > `synced_folder' 
> > 
> > from /Users/payam/www/Vagrantfile:40:in `block in <top (required)>' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/v2/loader.rb:37:in
>  
>
> > `call' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/v2/loader.rb:37:in
>  
>
> > `load' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:103:in
>  
>
> > `block (2 levels) in load' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:97:in
>  
>
> > `each' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:97:in
>  
>
> > `block in load' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:94:in
>  
>
> > `each' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:94:in
>  
>
> > `load' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/vagrantfile.rb:28:in
>  
>
> > `initialize' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:691:in
>  
>
> > `new' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:691:in
>  
>
> > `vagrantfile' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:441:in
>  
>
> > `host' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:207:in
>  
>
> > `block in action_runner' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:33:in
>  
>
> > `call' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:33:in
>  
>
> > `run' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:428:in
>  
>
> > `hook' 
> > 
> > from 
> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:673:in
>  
>
> > `unload' 
> > 
> > from 
> /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/vagrant:177:in 
> > `<main>' 
> > 
> > 
> > 
> > I have also attached the vagrant file as a text file. 
> > 
> > 
> > Thanks 
> > 
> > Payam 
> > 
> > 
> > On Tuesday, June 2, 2015 at 1:23:09 AM UTC-4, Alvaro Miranda Aguilera 
> wrote: 
> >> 
> >> Can you share your Vagrantfile 
> >> 
> >> What happen if you try 
> >> 
> >> mkdir precise32 
> >> cd precise32 
> >> vagrant init -m hashicorp/precise32 
> >> vagrant up 
> >> 
> >> Thanks 
> >> Alvaro. 
> >> 
> >> On Tue, Jun 2, 2015 at 3:07 PM, PAYAM SHOGHI <[email protected]> 
> wrote: 
> >> > I am setting up a linux virtual machine on my Mac using Vagrant and 
> >> > VirtualBox. I have installed Vagrant 1.7.2, and latest Ruby. On 
> vagrant 
> >> > up 
> >> > command, I get the following. Any solution to this? 
> >> > 
> >> > 
> >> > payam@Payams-MacBook-Pro /v/www> vagrant up 
> >> > 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/kernel_v2/config/vm.rb:198:in
>  
>
> >> > `[]=': no implicit conversion of Symbol into Integer (TypeError) 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/kernel_v2/config/vm.rb:198:in
>  
>
> >> > `synced_folder' 
> >> > 
> >> > from /private/var/www/Vagrantfile:40:in `block in <top (required)>' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/v2/loader.rb:37:in
>  
>
> >> > `call' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/v2/loader.rb:37:in
>  
>
> >> > `load' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:103:in
>  
>
> >> > `block (2 levels) in load' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:97:in
>  
>
> >> > `each' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:97:in
>  
>
> >> > `block in load' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:94:in
>  
>
> >> > `each' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:94:in
>  
>
> >> > `load' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/vagrantfile.rb:28:in
>  
>
> >> > `initialize' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:691:in
>  
>
> >> > `new' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:691:in
>  
>
> >> > `vagrantfile' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:441:in
>  
>
> >> > `host' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:207:in
>  
>
> >> > `block in action_runner' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:33:in
>  
>
> >> > `call' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:33:in
>  
>
> >> > `run' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:428:in
>  
>
> >> > `hook' 
> >> > 
> >> > from 
> >> > 
> >> > 
> /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:673:in
>  
>
> >> > `unload' 
> >> > 
> >> > from 
> >> > 
> /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/vagrant:177:in 
> >> > `ensure in <main>' 
> >> > 
> >> > from 
> >> > 
> /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/vagrant:177:in 
> >> > `<main>' 
> >> > 
> >> > -- 
> >> > You received this message because you are subscribed to the Google 
> >> > Groups 
> >> > "Vagrant" group. 
> >> > To unsubscribe from this group and stop receiving emails from it, 
> send 
> >> > an 
> >> > email to [email protected]. 
> >> > For more options, visit https://groups.google.com/d/optout. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Vagrant" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to