Copycopter-server : bundle install failed due to "Platform" gem

194 Views Asked by At

I have decided to try to deploy Copycopter-server on my VPS . After cloning the Github repository on my development machine , I tried bundle install . And then the error appeared :

Gem::RemoteFetcher::FetchError: Errno::ECONNREFUSED: Connection refused - connect(2) (http://rubygems.org/gems/Platform-0.4.0.gem)

I have tried to install the gems Platform and Popen4 locally with no success . It seems the last activity for improvement of the Platform gem is from 2005...

I need your advices on :

  • how can I find where these gems (Platforma is a dependency of Popen4) are used in the Copycopter-server application ?
  • Could it be a temporary Rubigems.org problem or the gems are not compatible with Rails 3.2.11 ?
  • What could be the reason the names Platform and Popen4 to be capitalized in the Gemfile?

Thank you for your time.

1

There are 1 best solutions below

3
On BEST ANSWER

Please check your network settings. Connection refused sounds more like your are not allowed to connect to rubygems at all. Try a

curl "http://rubygems.org"

to find out.

Update from the comments:

The source line in the Gemfile has to be changed from

source :rubygems

to

source 'https://rubygems.org'