0

I am trying to install a ruby gem called shopify_theme which lets you locally push edits to the main folder of a shopify server using their api key.

Whilst trying to download the theme to my hardrive via command line I got this error:

/Users/mdunbavan/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/net/http.rb:762:in `initialize': getaddrinfo: nodename nor servname provided, or not known (SocketError)
from /Users/mdunbavan/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/net/http.rb:762:in `open'
from /Users/mdunbavan/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/net/http.rb:762:in `block in connect'
from /Users/mdunbavan/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
from /Users/mdunbavan/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
from /Users/mdunbavan/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/net/http.rb:762:in `connect'
from /Users/mdunbavan/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
from /Users/mdunbavan/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/net/http.rb:744:in `start'
from /Users/mdunbavan/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/net/http.rb:1284:in `request'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/gems/httparty-0.9.0/lib/httparty/request.rb:81:in `perform'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/gems/httparty-0.9.0/lib/httparty.rb:438:in `perform_request'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/gems/httparty-0.9.0/lib/httparty.rb:385:in `get'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/gems/shopify_theme-0.0.7/lib/shopify_theme.rb:10:in `asset_list'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/gems/shopify_theme-0.0.7/lib/shopify_theme/cli.rb:30:in `download'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/gems/thor-0.16.0/lib/thor/task.rb:27:in `run'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/gems/thor-0.16.0/lib/thor/invocation.rb:120:in `invoke_task'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/gems/thor-0.16.0/lib/thor.rb:275:in `dispatch'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/gems/thor-0.16.0/lib/thor/base.rb:425:in `start'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/gems/shopify_theme-0.0.7/bin/theme:24:in `<top (required)>'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/bin/theme:19:in `load'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/bin/theme:19:in `<main>'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/mdunbavan/.rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in `<main>'

Are there any ruby experts out there that would happen to know what this error is and how I could go about it in a different manner?

Cheers, Mark

4

0 回答 0