RightScale-Services-Cookbooks / rsc_ros

Download and upload from various cloud remote object stores.
0 stars 0 forks source link

Update default.rb #11

Closed bryankaraffa closed 8 years ago

bryankaraffa commented 8 years ago

currently when use rsc_ros we run into the error:

/usr/local/bin/ros.rb -t download -c aws -u xxxxxxxxx -p xxxxxxxxx -b kabam-rs-artifacts -f xlate2/xxxxxxxxxx.tgz -d /tmp/xlate2.tgz -r us-west-1, STDOUT:, STDERR:/var/lib/gems/1.9.1/gems/fog-profitbricks-2.0.1/lib/fog/profitbricks.rb:4:in <top (required)>': undefined local variable or methoddir' for main:Object (NameError)

as the new fog-profitbricks use dir instead of old FILE which requires ruby version higher than 1.9.3