vmware-archive / rvc

RVC is a Linux console UI for vSphere, built on the RbVmomi bindings to the vSphere API.
MIT License
240 stars 48 forks source link

Fixing issue when script_args is not specified #56

Closed codemonkeyjohn closed 12 years ago

codemonkeyjohn commented 12 years ago

When running a script with RVC without script_args specified, the following error is raised:

rvc -s /dev/null

/opt/local/lib/ruby1.9/1.9.1/shellwords.rb:33:in shellsplit': undefined methodscan' for nil:NilClass (NoMethodError) from /opt/local/lib/ruby1.9/gems/1.9.1/gems/rvc-1.6.0/bin/rvc:145:in <top (required)>' from /opt/local/bin/rvc:23:inload' from /opt/local/bin/rvc:23:in `

'