Bundler Error when attempting Capistrano Deployment
I was able to get past this blocker. The ultimate issue is that I had to log into the correct shell and run gem install bundler:1.16.1.
In order to log into the bash I used this command:
/bin/bash --login
Then run gem install:
gem install bundler:1.16.1
Bundler error on deployment
I had a similar problem. If you're using capistrano you can set the following option:
set :bundle_without, [:darwin, :development, :test]
Then wrap your gem 'rb-fsevent' line in a group called darwin. Something like this should work nicely:
group :test, :darwin do
gem 'rb-fsevent'
end
This makes bundler do this on the server:
bundle --without darwin development test
Which means that it ignores those groups in the Gemfile.lock. What you were doing would make you OS X machine and your server come up with different resulting lock files. Which is why it was complaining.
error with netlify cms deployment says Bundler v2 needed but bundler v2 was used
Foiund the answer thanks to this blog.
https://stollerys.co.uk/2019/01/12/you-must-use-bundler-2-or-greater-with-this-lockfile
Netlify build servers don't use V2 of bundler so it barfs.
Had to downgrade my local version thus:
gem uninstall bundler
Then install netlify compatible version
gem install bundler -v 1.17.1
Delete the GemFile.lock
Regenerate it by running
bundle install
stage the files to git and then push them to github
git commit -am "Downgraded bundler for netlify compatibility"
git push
This triggered the netlify build and it worked a treat.
Related Topics
Rails 'Parse_Query' Error on Server in Brand New App
How Does Array#Map Have Parameter to Do Something Like This
What Are the Benefits of the New Hash Syntax in Ruby 1.9
How to Dynamically Call a Math Operator in Ruby
Ruby Basic Data Type Conversion
What Is the "Right" Way to Iterate Through an Array in Ruby
Ruby: How to Turn a Hash into Http Parameters
Converting an Integer to a Hexadecimal String in Ruby
Rails - Best-Practice: How to Create Dependent Has_One Relations
What's the 'Ruby Way' to Iterate Over Two Arrays at Once
Is the Server Running on Host "Localhost" (::1) and Accepting Tcp/Ip Connections on Port 5432
Turning Long Fixed Number to Array Ruby
Why Aren't Do/End and {} Always Equivalent
Installing Nokogiri on Osx 10.10 Yosemite