Installing travis command line windows

I would like to install the travis command line tool ( https://rubygems.org/gems/travis ) in order to set up travis correctly. I have a Windows machine, I installed ruby ​​and gem.

$ ruby --version
  ruby 2.2.2p95 (2015-04-13 revision 50295) [i386-mingw32]

$ gem --version
  2.4.5

      

When installing (in verbose mode), the installation cannot find a dependent that does not exist.

$ gem install travis -V
HEAD https://api.rubygems.org/api/v1/dependencies
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=travis
200 OK
GET https://api.rubygems.org/api/v1/dependencies?    gems=addressable,backports,faraday,faraday_middleware,gh,highline,launchy,
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=coderay,ethon,json,method_source,multi_json,multipart-post,net-http-p,slop,websocket,win32console
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=ffi
200 OK
GET https://api.rubygems.org/quick/Marshal.4.8/pry-0.9.12.6-x86-mingw32.gemspec.rz
302 Moved Temporarily
GET https://aws-eu-cache01.rubygems.org/quick/Marshal.4.8/pry-0.9.12.6-x86-mingw32.gemspec.rz
404 Not Found
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
bad response Not Found 404 (https://aws-eu-cache01.rubygems.org/quick/Marshal.4.8/pry-0.9.12.6-x86-mingw32.gemspec.rz)

      

Also installing pry manually (in different versions) fails

$ gem install pry  -V
 HEAD https://api.rubygems.org/api/v1/dependencies
      200 OK
 GET https://api.rubygems.org/api/v1/dependencies?gems=pry
      200 OK
 GET https://api.rubygems.org/quick/Marshal.4.8/pry-0.10.1-x86-mingw32.gemspec.rz
      302 Moved Temporarily
 GET https://aws-eu-cache01.rubygems.org/quick/Marshal.4.8/pry-0.10.1-x86-mingw32.gemspec.rz
     404 Not Found
 ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
bad response Not Found 404 (https://aws-eu-cache01.rubygems.org/quick/Marshal.4.8/pry-0.10.1-x86-mingw32.gemspec.rz)

      

The file that this gem is trying to extract looks like this:

https://aws-eu-cache01.rubygems.org/quick/Marshal.4.8/pry-0.10.1-x86-mingw32.gemspec.rz

So my question is, is there any other way to get this gem or any other way to run gem install travis

in windows?

Thank you very much and cheers Fabian

+3


source to share


1 answer


Known issue

As a workaround, you can downgrade the gem:



gem update --system 2.4.4 
gem install pry

      

+2


source







All Articles