Created
September 5, 2012 01:29
-
-
Save frankmt/3628915 to your computer and use it in GitHub Desktop.
Bundle install not working
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The command you ran: bundle install | |
Exception backtrace: | |
/Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/net/http.rb:560:in `initialize': getaddrinfo: nodename nor servname provided, or not known (SocketError) | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/net/http.rb:560:in `open' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/net/http.rb:560:in `connect' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/timeout.rb:53:in `timeout' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/timeout.rb:101:in `timeout' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/net/http.rb:560:in `connect' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/net/http.rb:553:in `do_start' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/net/http.rb:542:in `start' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/open-uri.rb:242:in `open_http' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/open-uri.rb:616:in `buffer_open' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/open-uri.rb:164:in `open_loop' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/open-uri.rb:162:in `catch' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/open-uri.rb:162:in `open_loop' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/open-uri.rb:132:in `open_uri' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/open-uri.rb:518:in `open' | |
from /Users/frankmt/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/open-uri.rb:30:in `open' | |
from /Users/frankmt/Projects/tw/hub_online/xmen_repos/reaxchange-deploy/reaxchange-deploy.gemspec:7 | |
Your Gemfile | |
source "http://rubygems.org" | |
source "http://dist/rubygems" | |
gemspec | |
Your Gemfile.lock | |
None | |
My Gemspec | |
require "open-uri" | |
$LOAD_PATH.push File.expand_path("../lib", __FILE__) | |
require "reaxchange/version" | |
latest={} | |
latest_specs = Marshal.load(open('http://dist/rubygems/latest_specs.4.8')) | |
['rea-ec2', 'rea-deploy', 'rea-deploy-util', 'netscaler-util'].each do |gem_name| | |
latest[gem_name] = latest_specs.select { |a| a[0]==gem_name }.first[1].version | |
end | |
Gem::Specification.new do |s| | |
s.name = "xxxx" | |
s.version = 0.0.1 | |
s.authors = ["XXXX"] | |
s.summary = %q{} | |
s.files = Dir.glob('lib/**/*') + Dir.glob('bin/*') | |
s.executables = Dir.glob('bin/*').map{ |f| File.basename(f) } | |
s.require_paths = ["lib"] | |
s.add_development_dependency 'rake' | |
s.add_runtime_dependency 'rea-deploy', ">= #{latest['rea-deploy']}" | |
s.add_runtime_dependency 'rea-ec2', ">= #{latest['rea-ec2']}" | |
s.add_runtime_dependency 'rea-deploy-util', ">= #{latest['rea-deploy-util']}" | |
s.add_runtime_dependency 'netscaler-util', ">= #{latest['netscaler-util']}" | |
s.add_runtime_dependency 'parallel' | |
s.add_runtime_dependency 'json' | |
end | |
Your Bundler configuration settings (run bundle config) | |
None | |
What version of bundler you are using (run bundle -v) | |
1.1.5 | |
What version of Ruby you are using (run ruby -v) | |
ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-darwin10.8.0] | |
What version of Rubygems you are using (run gem -v) | |
1.8.17 | |
Whether you are using RVM, and if so what version (run rvm -v) | |
rvm 1.10.2 | |
Whether you have the rubygems-bundler gem, which can break gem binares (run gem list rubygems-bundler) | |
Whether you have the open_gem gem, which can cause rake activation conflicts (run gem list open_gem) | |
No |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment