I am able to create new droplets with below commands
**ruby doproxy.rb create **
But when I try to “ruby doproxy.rb print” i got below error.
root@doproxy:~/doproxy# ruby doproxy.rb print
rescue in merge': bad URI(is not URI?): /v2/droplets/12042416 (URI::InvalidURIError) from /root/.rbenv/versions/2.2.3/lib/ruby/2.2.0/uri/generic.rb:1097:in merge’
build_exclusive_url' from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:192:in build_env’
build_response' from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in run_request’
get' from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/resource_kit-0.1.4/lib/resource_kit/action_invoker.rb:34:in response’
handle_response' from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/resource_kit-0.1.4/lib/resource_kit/action_invoker.rb:14:in call’
block in method_for_action' from doproxy.rb:39:in block in get_inventory’
each_line' from doproxy.rb:38:in get_inventory’
initialize' from doproxy.rb:140:in new’
from doproxy.rb:140:in `<main>’
Now am also not able to create new droplets with **ruby doproxy.rb create **
Getting same error as above “ruby doproxy.rb print”
Please help with the solution.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!