Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundle installのところでTravisCIのビルドエラー #21

Open
shigemk2 opened this issue Apr 12, 2015 · 0 comments
Open

bundle installのところでTravisCIのビルドエラー #21

shigemk2 opened this issue Apr 12, 2015 · 0 comments

Comments

@shigemk2
Copy link

#20 のPRを出すにあったってTravisCIがビルドエラーになっていたので、フォークしたリポジトリの別ブランチで試してみたところ、やはりエラーになりました。

https://travis-ci.org/shigemk2/gisty/jobs/58118085

rubyの別バージョンは問題ないのですが、ruby-head(ruby 2.3.0-dev)の bundle installでエラーになります。ローカルで試しましたが、こちらではbundle installは問題ありませんでした。

以下、ローカル環境です。

  • Fedora release 20 (Heisenbug)
  • ruby 2.3.0-dev (rbenv)
  • bundle 1.9.2

以下、ログです。

Using worker: worker-linux-docker-db1e32f4.prod.travis-ci.org:travis-linux-12
system_info
Build system information
Build language: ruby
Build image provisioning date and time
Thu Feb  5 15:09:33 UTC 2015
Operating System Details
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:    12.04
Codename:   precise
Linux Version
3.13.0-29-generic
Cookbooks Version
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 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.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.36
Pre-installed Go versions
1.4.1
Redis version
redis-server 2.8.19
riak version
2.0.2
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
RabbitMQ Version
3.4.3
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.6
Default Sphinx version
2.2.6
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"
git.checkout
0.12s
$ git clone --depth=50 --branch=test git://github.com/shigemk2/gisty.git shigemk2/gisty
Cloning into 'shigemk2/gisty'...
remote: Counting objects: 242, done.
remote: Compressing objects: 100% (144/144), done.
remote: Total 242 (delta 108), reused 219 (delta 89), pack-reused 0
Receiving objects: 100% (242/242), 51.79 KiB | 0 bytes/s, done.
Resolving deltas: 100% (108/108), done.
Checking connectivity... done.
$ cd shigemk2/gisty
$ git checkout -qf d7ae4f76d6459141f2d08a25c5087bd41ce3db56
This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.
If you require sudo, add 'sudo: required' to your .travis.yml
See http://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.
rvm
Setting up latest ruby-head
$ export ruby_alias=`rvm alias show ruby-head 2>/dev/null`
0.15s
$ rvm alias delete ruby-head
Deleting alias: ruby-head...
0.35s
$ rvm remove ${ruby_alias:-ruby-head} --gems
chown: changing ownership of `/home/travis/.rvm/user/installs': Operation not permitted
ruby-head - #already gone
0.39s
$ rvm remove ruby-head --gems --fuzzy
ruby-head - #already gone
22.75s
$ rvm install ruby-head --binary
Searching for binary rubies, this might take some time.
Found remote file https://s3.amazonaws.com/travis-rubies/binaries/ubuntu/12.04/x86_64/ruby-head.tar.bz2
Checking requirements for ubuntu.
Requirements installation successful.
ruby-head - #configure
ruby-head - #download
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21.4M  100 21.4M    0     0  80.1M      0 --:--:-- --:--:-- --:--:-- 80.8M
No checksum for downloaded archive, recording checksum in user configuration.
ruby-head - #validate archive
ruby-head - #extract
ruby-head - #validate binary
ruby-head - #setup
ruby-head - #gemset created /home/travis/.rvm/gems/ruby-head@global
ruby-head - #importing gemset /home/travis/.rvm/gemsets/global.gems................................................
ruby-head - #generating global wrappers........
ruby-head - #uninstalling gem rubygems-bundler-1.4.4.
ruby-head - #gemset created /home/travis/.rvm/gems/ruby-head
ruby-head - #importing gemset /home/travis/.rvm/gemsets/default.gems....................
ruby-head - #generating default wrappers........
0.11s
$ rvm use ruby-head
Using /home/travis/.rvm/gems/ruby-head
$ export BUNDLE_GEMFILE=$PWD/Gemfile
$ ruby --version
ruby 2.3.0dev (2015-04-12 trunk 50240) [x86_64-linux]
$ rvm --version
rvm 1.26.10 (latest-minor) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
$ bundle --version
Bundler version 1.9.2
$ gem --version
2.4.6
6.52s
$ bundle install --jobs=3 --retry=3
Fetching gem metadata from http://rubygems.org/.........
Fetching version metadata from http://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
NoMethodError: undefined method `spec' for nil:NilClass
Installing fakeweb 1.3.0
Installing minitest 4.7.5
Installing power_assert 0.2.3
Installing rr 1.1.2
Using bundler 1.9.2
Installing json 1.8.2
An error occurred while installing gisty (0.2.8), and Bundler cannot continue.
Make sure that `gem install gisty -v '0.2.8'` succeeds before bundling.
The command "eval bundle install --jobs=3 --retry=3" failed. Retrying, 2 of 3.
Fetching gem metadata from http://rubygems.org/.........
Fetching version metadata from http://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
NoMethodError: undefined method `spec' for nil:NilClass
Using json 1.8.2
Using fakeweb 1.3.0
Using minitest 4.7.5
Using power_assert 0.2.3
Using bundler 1.9.2
Using rr 1.1.2
An error occurred while installing gisty (0.2.8), and Bundler cannot continue.
Make sure that `gem install gisty -v '0.2.8'` succeeds before bundling.
The command "eval bundle install --jobs=3 --retry=3" failed. Retrying, 3 of 3.
Fetching gem metadata from http://rubygems.org/.........
Fetching version metadata from http://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
Using fakeweb 1.3.0
NoMethodError: undefined method `spec' for nil:NilClass
Using minitest 4.7.5
Using power_assert 0.2.3
Using rr 1.1.2
Using bundler 1.9.2
Using json 1.8.2
An error occurred while installing gisty (0.2.8), and Bundler cannot continue.
Make sure that `gem install gisty -v '0.2.8'` succeeds before bundling.
The command "eval bundle install --jobs=3 --retry=3" failed 3 times.
The command "bundle install --jobs=3 --retry=3" failed and exited with 5 during .
Your build has been stopped.
@shigemk2 shigemk2 changed the title TravisCI erro on bundle install bundle installのところでTravisCIのビルドエラー Apr 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant