Closed jasonbrooks closed 13 years ago
I ran into this too.. need ruby 1.9 for the Kernel.spawn method. btw: highly recommend using rvm if you don't want to install 1.9 system wide.
OK, updating my ruby to 1.9.1 addressed this for me -- I don't have any reason not to be on 1.9.1, other than this is the default pkg on ubuntu.
With rvc version 1.3.6 (also experienced this w/ v 1.3.4), uploading a file from my 64-bit Ubuntu 11.04 client to a vmfs datastore gives this error:
NoMethodError: undefined method
spawn' for #<RbVmomi::VIM::Datastore:0x7f2ce01bdf50> /var/lib/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/vim/Datastore.rb:44:in
upload' /var/lib/gems/1.8/gems/rvc-1.3.6/lib/rvc/modules/datastore.rb:46:inupload' /var/lib/gems/1.8/gems/rvc-1.3.6/lib/rvc/shell.rb:109:in
send' /var/lib/gems/1.8/gems/rvc-1.3.6/lib/rvc/shell.rb:109:ineval_command' /var/lib/gems/1.8/gems/rvc-1.3.6/lib/rvc/shell.rb:56:in
eval_input' /var/lib/gems/1.8/gems/rvc-1.3.6/bin/rvc:120 /var/lib/gems/1.8/bin/rvc:19:in `load' /var/lib/gems/1.8/bin/rvc:19