Skip to content

Instantly share code, notes, and snippets.

@cobbr2
Last active March 23, 2016 17:09
Show Gist options
  • Save cobbr2/b1511a530612ebf1fd6c to your computer and use it in GitHub Desktop.
Save cobbr2/b1511a530612ebf1fd6c to your computer and use it in GitHub Desktop.
gem / bundle fail for heroic-sns on travis-ci
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$ ruby --version ; rvm --version ; bundle --version ; gem --version
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]
rvm 1.26.11 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
Bundler version 1.7.6
2.5.1
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$ bundle install --jobs=3 --retry=3
Resolving dependencies...
Using json 1.8.3
Using rake 10.5.0
Using rack 1.6.4
Using bundler 1.7.6
Using rdoc 4.2.2
NoMethodError: undefined method `spec' for nil:NilClass
An error occurred while installing heroic-sns (1.1.2), and Bundler cannot continue.
Make sure that `gem install heroic-sns -v '1.1.2'` succeeds before bundling.
#### reconfigure to use gem version 2.4.2 ##########
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$ ruby --version ; rvm --version ; bundle --version ; gem --version
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]
rvm 1.26.11 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
Bundler version 1.7.6
2.4.2
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$ bundle install --jobs=3 --retry=3
Resolving dependencies...
Using json 1.8.3
Using rake 10.5.0
Using rack 1.6.4
Using bundler 1.7.6
Using rdoc 4.2.2
Using heroic-sns 1.1.2 from source at .
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
#####################################################
##### Go back to gem 2.5.1 but bundler 1.11.2 #######
#####################################################
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$ ruby --version ; rvm --version ; bundle --version ; gem --version
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]
rvm 1.26.11 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
Bundler version 1.11.2
2.5.1
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$ bundle install --jobs=3 --retry=3
Resolving dependencies...
Using rake 10.5.0
Using json 1.8.3
Using rack 1.6.4
Using bundler 1.11.2
Using rdoc 4.2.2
Using heroic-sns 1.1.2 from source at `.`
Bundle complete! 3 Gemfile dependencies, 6 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
#####################################################
##### gem 2.5.2 but bundler 1.7.6: FAIL #####
#####################################################
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$ gem uninstall bundler
Select gem to uninstall:
1. bundler-1.7.6
2. bundler-1.11.2
3. All versions
> 2
Successfully uninstalled bundler-1.11.2
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$ ruby --version ; rvm --version ; bundle --version ; gem --version
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]
rvm 1.26.11 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
Bundler version 1.7.6
2.5.2
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$ bundle install --jobs=3 --retry=3
Resolving dependencies...
Using rake 10.5.0
Using rack 1.6.4
Using bundler 1.7.6
Using json 1.8.3
Using rdoc 4.2.2
NoMethodError: undefined method `spec' for nil:NilClass
An error occurred while installing heroic-sns (1.1.2), and Bundler cannot continue.
Make sure that `gem install heroic-sns -v '1.1.2'` succeeds before bundling.
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$
#####################################################
##### gem 2.6.2 (most recent), bundler 1.7.6: FAIL #
#####################################################
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$ gem update --system 2.6.2
Updating rubygems-update
...
RubyGems system software updated
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$ ruby --version ; rvm --version ; bundle --version ; gem --version
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]
rvm 1.26.11 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
Bundler version 1.7.6
2.6.2
rcobb@rcobb-x250: (6280738...) ~/github/benzado/heroic-sns$ bundle install --jobs=3 --retry=3
Resolving dependencies...
Using json 1.8.3
Using rake 10.5.0
Using rack 1.6.4
Using bundler 1.7.6
Using rdoc 4.2.2
NoMethodError: undefined method `spec' for nil:NilClass
An error occurred while installing heroic-sns (1.1.2), and Bundler cannot continue.
Make sure that `gem install heroic-sns -v '1.1.2'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment