You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
Please fill out answers to these questions, it'll help us figure out
why things are going wrong.
What did you do?
I ran the command /home/matijs/.rbenv/versions/2.4.3/bin/bundle.
What did you expect to happen?
I expected Bundler to install the needed gems, hopefully including xmlrpc, or alternatively tell me to update the lockfile.
What happened instead?
Instead, what happened was bundler crashed.
Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?
I tried bundle update, which resolved the issue, but I'd rather not have to remember to always switch to Ruby 2.4 when I update the lockfile. I also found Error during bundle install "Unable to find a spec ffi" #6079, which seems similar but is also different in that:
My Gemfile actually contains the xmlrpc gem, it just doesn't end up in the lockfile.
The suggestion bundle lock --add-platform <something> doesn't work because mri_24 is not considered a valid platform.
bundle update on 2.4 resolved the issue but this solution is not given there.
Yes, I have. I can try making a small reproduction soon.
Backtrace
RuntimeError: Unable to find a spec satisfying xmlrpc (~> 0.3.0) in the set. Perhaps the lockfile is corrupted?
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/spec_set.rb:40:in `block in for'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/spec_set.rb:25:in `loop'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/spec_set.rb:25:in `for'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/spec_set.rb:80:in `materialize'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/definition.rb:158:in `resolve_remotely!'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/installer.rb:279:in `resolve_if_needed'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/installer.rb:83:in `block in run'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/process_lock.rb:12:in `block in lock'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/process_lock.rb:9:in `open'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/process_lock.rb:9:in `lock'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/installer.rb:72:in `run'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/installer.rb:25:in `install'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/cli/install.rb:65:in `run'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/cli.rb:224:in `block in install'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/settings.rb:136:in `temporary'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/cli.rb:223:in `install'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
/home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
/home/matijs/.rbenv/versions/2.4.3/bin/bundle:23:in `load'
/home/matijs/.rbenv/versions/2.4.3/bin/bundle:23:in `<main>'
Environment
Bundler 1.16.1
Platforms ruby, x86_64-linux
Ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
Full Path /home/matijs/.rbenv/versions/2.4.3/bin/ruby
Config Dir /home/matijs/.rbenv/versions/2.4.3/etc
RubyGems 2.6.14
Gem Home /home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0
Gem Path /home/matijs/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0:/home/matijs/.gem/ruby/2.4.0
User Path /home/matijs/.gem/ruby/2.4.0
Bin Dir /home/matijs/.rbenv/versions/2.4.3/bin
OpenSSL
Compiled OpenSSL 1.1.0g 2 Nov 2017
Loaded OpenSSL 1.1.0g 2 Nov 2017
Cert File /usr/lib/ssl/cert.pem
Cert Dir /usr/lib/ssl/certs
Tools
Git 2.15.1
RVM not installed
rbenv rbenv 1.0.0
chruby not installed
Bundler Build Metadata
Built At 2017-12-21
Git SHA 0034ef341
Released Version true
Bundler settings
shebang
Set for the current user (/home/matijs/.bundle/config): "ruby"
gem.coc
Set for the current user (/home/matijs/.bundle/config): true
gem.mit
Set for the current user (/home/matijs/.bundle/config): true
gem.test
Set for the current user (/home/matijs/.bundle/config): "rspec"
Gemfile
Gemfile
source'https://rubygems.org'ifENV['HEROKU']ruby'2.1.5'gem'pg'gem'rails_12factor'gem'thin'# Change this to another web server if you want (ie. unicorn, passenger, puma...)elsegem'mysql2','~> 0.4.4'gem'pg','~> 0.21.0'gem'sqlite3'endgem'rails','~> 5.1.2'# Store sessions in the databasegem'activerecord-session_store','~> 1.1.0'# Use Puma as the app servergem'puma','~> 3.0'gem'publify_amazon_sidebar',path: 'publify_amazon_sidebar'gem'publify_core',path: 'publify_core'gem'publify_textfilter_code',path: 'publify_textfilter_code'# Use Uglifier as compressor for JavaScript assetsgem'uglifier','>= 1.3.0'# Needed for the lightbox and flickr text filtersgem'flickraw','~> 0.9.8',require: falsegem'non-stupid-digest-assets','~> 1.0'gem'rake','~> 12.0'# On Ruby 2.4.0, xmlrpc needs to be included as a gemgem'xmlrpc','~> 0.3.0',platform: :mri_24group:development,:testdogem'capybara','~> 2.7'gem'factory_girl','~> 4.5'gem'i18n-tasks','~> 0.9.1',require: falsegem'rspec-rails','~> 3.4'gem'simplecov','~> 0.15.1',require: falseendgroup:developmentdogem'better_errors','~> 2.4.0'gem'binding_of_caller','~> 0.8.0'# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/springgem'spring','~> 2.0.0'gem'spring-commands-cucumber','~> 1.0'gem'spring-commands-rspec','~> 1.0'# Access an IRB console on exception pages or by using <%= console %> in viewsgem'web-console','~> 3.0'# Call 'byebug' anywhere in the code to stop execution and get a debugger consolegem'byebug','~> 9.0'endgroup:testdogem'launchy','~> 2.4'gem'rails-controller-testing','~> 1.0.1'gem'timecop','~> 0.9.0'gem'webmock','~> 3.3.0'end# Install gems from each themeDir.glob(File.join(File.dirname(__FILE__),'themes','**','Gemfile'))do |gemfile|
eval(IO.read(gemfile),binding)end
In trying to reproduce this with a small test case, I've found that for some reason the xmlrpc line that should have been there was removed from the Gemfile.lock file at some point. A freshly generated Gemfile.lock works as it should.
Error Report
Questions
Please fill out answers to these questions, it'll help us figure out
why things are going wrong.
What did you do?
I ran the command
/home/matijs/.rbenv/versions/2.4.3/bin/bundle
.What did you expect to happen?
I expected Bundler to install the needed gems, hopefully including xmlrpc, or alternatively tell me to update the lockfile.
What happened instead?
Instead, what happened was bundler crashed.
Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?
I tried
bundle update
, which resolved the issue, but I'd rather not have to remember to always switch to Ruby 2.4 when I update the lockfile. I also found Error during bundle install "Unable to find a spec ffi" #6079, which seems similar but is also different in that:xmlrpc
gem, it just doesn't end up in the lockfile.bundle lock --add-platform <something>
doesn't work becausemri_24
is not considered a valid platform.bundle update
on 2.4 resolved the issue but this solution is not given there.Have you read our issues document, https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md?
Yes, I have. I can try making a small reproduction soon.
Backtrace
Environment
Bundler Build Metadata
Bundler settings
Gemfile
Gemfile
Gemfile.lock
The text was updated successfully, but these errors were encountered: