Skip to content

Instantly share code, notes, and snippets.

@chris-rock
Created February 8, 2016 13:50
Show Gist options
  • Save chris-rock/6b7648c692fb3c758646 to your computer and use it in GitHub Desktop.
Save chris-rock/6b7648c692fb3c758646 to your computer and use it in GitHub Desktop.
bundler does not consider ruby version
Worker information
hostname: travis-worker-gce-org-prod-11:fd10c29f-77b4-4c71-a0a6-dc7a73ae96fb
version: v2.1.0-44-ge7ef5db https://github.com/travis-ci/worker/tree/e7ef5db4f469f8e76792dee8309e601b6e53e56b
instance: testing-gce-3480b3ea-cb86-4576-b927-c9754154ef5b:travis-ci-mega-trusty-1445287562
startup: 21.863668428s
Build system information
Build language: ruby
Build group: stable
Build dist: trusty
Build image provisioning date and time
Mon Oct 19 21:23:19 UTC 2015
Operating System Details
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Linux Version
3.19.0-28-generic
Cookbooks Version
fffffff https://github.com/travis-ci/travis-cookbooks/tree/fffffff
Git version
git version 1.9.1
GCC version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
LLVM version
clang version 3.5.0 (tags/RELEASE_350/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
jruby-9.0.1.0
ruby-1.9.3-p551
ruby-2.0.0-p647
ruby-2.1.7
ruby-2.2.3
Pre-installed Node.js versions
iojs-v1.6
iojs-v1.6.4
v0.10
v0.10.40
v0.11.16
v0.12.2
v0.12.7
v0.6.21
v0.8.28
v4.1.2
Pre-installed Go versions
1.0.3
1.1.2
1.2.2
1.3.3
1.4.2
1.5.1
mysql --version
mysql Ver 14.14 Distrib 5.5.44, for debian-linux-gnu (x86_64) using readline 6.3
Pre-installed PostgreSQL versions
9.1.19
9.2.14
9.3.10
9.4.5
Redis version
redis-server 3.0.5
RabbitMQ Version
3.5.4
Installed Sphinx versions
2.0.10
2.1.9
2.2.8
Default Sphinx version
2.2.8
Installed Firefox version
firefox 31.6.0esr
ant -version
Apache Ant(TM) version 1.9.3 compiled on April 8 2014
mvn -version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 15:22:22+0000)
Maven home: /usr/local/maven
Java version: 1.8.0_60, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.19.0-28-generic", arch: "amd64", family: "unix"
gradle -version
------------------------------------------------------------
Gradle 2.7
------------------------------------------------------------
Build time: 2015-09-14 07:26:16 UTC
Build number: none
Revision: c41505168da69fb0650f4e31c9e01b50ffc97893
Groovy: 2.3.10
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.8.0_60 (Oracle Corporation 25.60-b23)
OS: Linux 3.19.0-28-generic amd64
lein version
Downloading Leiningen to /home/travis/.lein/self-installs/home/travis/.lein/leiningen-2.5.1-standalone.jar now...
Leiningen 2.5.1 on Java 1.8.0_60 Java HotSpot(TM) 64-Bit Server VM
phpenv versions
* system (set by /home/travis/.phpenv/version)
$ git clone --depth=50 https://github.com/chef/kitchen-inspec.git chef/kitchen-inspec
Cloning into 'chef/kitchen-inspec'...
remote: Counting objects: 362, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 362 (delta 11), reused 10 (delta 5), pack-reused 338
Receiving objects: 100% (362/362), 58.13 KiB | 0 bytes/s, done.
Resolving deltas: 100% (131/131), done.
Checking connectivity... done.
$ cd chef/kitchen-inspec
$ git fetch origin +refs/pull/42/merge:
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 1), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), done.
From https://github.com/chef/kitchen-inspec
* branch refs/pull/42/merge -> FETCH_HEAD
$ git checkout -qf FETCH_HEAD
$ sudo service docker start
start: Job is already running: docker
$ rvm use 1.9.3 --install --binary --fuzzy
Warning! PATH is not properly set up, '/usr/local/rvm/gems/ruby-2.2.3/bin' is not at first place,
usually this is caused by shell initialization files - check them for 'PATH=...' entries,
it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
to fix temporarily in this shell session run: 'rvm use ruby-2.2.3'.
Using /usr/local/rvm/gems/ruby-1.9.3-p551
$ export BUNDLE_GEMFILE=$PWD/Gemfile
$ ruby --version
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]
$ rvm --version
rvm 1.26.11 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
$ bundle --version
Bundler version 1.10.6
$ gem --version
2.4.3
$ gem install bundler -v '~> 1.11.2'
Fetching: bundler-1.11.2.gem (100%)
Successfully installed bundler-1.11.2
1 gem installed
$ gem --version
2.4.3
$ bundle install --without integration guard tools --path=${BUNDLE_PATH:-vendor/bundle}
Fetching https://github.com/test-kitchen/test-kitchen.git
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies....
Installing rake 10.5.0
Installing ast 2.2.0
Installing builder 3.2.2
Using bundler 1.11.2
Installing docile 1.1.5
Installing json 1.8.3 with native extensions
Installing simplecov-html 0.10.0
Installing coderay 1.1.0
Installing concurrent-ruby 0.9.2
Installing countloc 0.4.0
Installing diff-lcs 1.2.5
Installing excon 0.45.4
Installing erubis 2.7.0
Installing ffi 1.9.10 with native extensions
Installing powerpack 0.1.1
Installing rainbow 2.1.0
Installing ruby-progressbar 1.7.5
Installing httpclient 2.6.0.1
Installing method_source 0.8.2
Installing slop 3.6.0
Installing mixlib-shellout 2.2.6
Installing net-ssh 3.0.2
Gem::InstallError: net-ssh requires Ruby version >= 2.0.
Installing little-plugger 1.1.4
Installing multi_json 1.11.2
Installing nori 2.6.0
Installing rubyntlm 0.5.3
Installing rubyzip 1.1.7
Installing rspec-support 3.4.1
Installing thor 0.19.1
Installing minitest 5.8.4
Installing mixlib-install 0.7.1
Installing safe_yaml 1.0.4
Installing parser 2.3.0.3
Installing gyoku 1.3.1
Installing simplecov 0.11.2
Installing docker-api 1.26.0
Installing gssapi 1.2.0
Installing pry 0.10.3
An error occurred while installing net-ssh (3.0.2), and Bundler cannot continue.
Make sure that `gem install net-ssh -v '3.0.2'` succeeds before bundling.
The command "eval bundle install --without integration guard tools --path=${BUNDLE_PATH:-vendor/bundle}" failed. Retrying, 2 of 3.
Fetching https://github.com/test-kitchen/test-kitchen.git
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies....
Using rake 10.5.0
Using ast 2.2.0
Using builder 3.2.2
Using bundler 1.11.2
Using docile 1.1.5
Using json 1.8.3
Using simplecov-html 0.10.0
Using coderay 1.1.0
Using concurrent-ruby 0.9.2
Using countloc 0.4.0
Using diff-lcs 1.2.5
Using excon 0.45.4
Using erubis 2.7.0
Using ffi 1.9.10
Using powerpack 0.1.1
Using rainbow 2.1.0
Using ruby-progressbar 1.7.5
Using httpclient 2.6.0.1
Using method_source 0.8.2
Using slop 3.6.0
Using mixlib-shellout 2.2.6
Installing net-ssh 3.0.2
Gem::InstallError: net-ssh requires Ruby version >= 2.0.
Using little-plugger 1.1.4
Using multi_json 1.11.2
Using nori 2.6.0
Using rubyntlm 0.5.3
Using rubyzip 1.1.7
Using rspec-support 3.4.1
Using thor 0.19.1
Using minitest 5.8.4
Using mixlib-install 0.7.1
Using safe_yaml 1.0.4
Using parser 2.3.0.3
Using gyoku 1.3.1
Using simplecov 0.11.2
Using docker-api 1.26.0
Using gssapi 1.2.0
Using pry 0.10.3
An error occurred while installing net-ssh (3.0.2), and Bundler cannot continue.
Make sure that `gem install net-ssh -v '3.0.2'` succeeds before bundling.
The command "eval bundle install --without integration guard tools --path=${BUNDLE_PATH:-vendor/bundle}" failed. Retrying, 3 of 3.
Fetching https://github.com/test-kitchen/test-kitchen.git
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies....
Using rake 10.5.0
Using ast 2.2.0
Using builder 3.2.2
Using bundler 1.11.2
Using docile 1.1.5
Using json 1.8.3
Using simplecov-html 0.10.0
Using coderay 1.1.0
Using concurrent-ruby 0.9.2
Using countloc 0.4.0
Using diff-lcs 1.2.5
Using excon 0.45.4
Using erubis 2.7.0
Using ffi 1.9.10
Using powerpack 0.1.1
Using rainbow 2.1.0
Using ruby-progressbar 1.7.5
Using httpclient 2.6.0.1
Using method_source 0.8.2
Using slop 3.6.0
Using mixlib-shellout 2.2.6
Installing net-ssh 3.0.2
Gem::InstallError: net-ssh requires Ruby version >= 2.0.
Using little-plugger 1.1.4
Using multi_json 1.11.2
Using nori 2.6.0
Using rubyntlm 0.5.3
Using rubyzip 1.1.7
Using rspec-support 3.4.1
Using thor 0.19.1
Using minitest 5.8.4
Using mixlib-install 0.7.1
Using safe_yaml 1.0.4
Using parser 2.3.0.3
Using gyoku 1.3.1
Using simplecov 0.11.2
Using docker-api 1.26.0
Using gssapi 1.2.0
Using pry 0.10.3
An error occurred while installing net-ssh (3.0.2), and Bundler cannot continue.
Make sure that `gem install net-ssh -v '3.0.2'` succeeds before bundling.
The command "eval bundle install --without integration guard tools --path=${BUNDLE_PATH:-vendor/bundle}" failed 3 times.
The command "bundle install --without integration guard tools --path=${BUNDLE_PATH:-vendor/bundle}" failed and exited with 5 during .
Your build has been stopped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment