Questions tagged [gem-bundler]
38 questions
93
votes
6 answers
How to downgrade bundler or upgrade rails?
I added omniauth gem to my gemfile and tried to run bundle install, but got a message about incompatibility of rails and bundler versions. I tried to update rails, but got messages about incompatibility with other gems. How can I downgrade bundler…

JohnHF
- 965
- 1
- 8
- 11
44
votes
3 answers
cannot load railtie after upgrade to rails 4 per ruby.railstutorial.org
OS is Ubuntu 12.04, 64 bit.
New to rails. Relatively new to Ruby. Following the ruby.railstutorial.org tutorial, chapter 3.
The tutorial has been updated to use ruby 2.0.0 and Rails 4.0.0.rc1. Previously the gemfile was specifying Rails 3.2.13 and…

Paul S
- 1,424
- 1
- 14
- 12
13
votes
3 answers
Bundler is not compatible with Rubygems 2.0. Please upgrade to Bundler 1.3 or higher
I am deploying a Ruby on Rails application and part of the startup script that I have when provisioning a new box is gem update --system.
This happened to upgrade Rubygems to version 2.0. however, it looks like bundler is not compatible with this…

kobaltz
- 6,980
- 1
- 35
- 52
10
votes
2 answers
Does PHP have like ruby gem bundler?
I am PHP programmer that know Rails.
Ruby gem bundler very good tool to install dependencies, does php have something like that?(maybe some php framework have such tool).
Expanation about gem bundler:
Bundler manages an application's dependencies…

Ben
- 25,389
- 34
- 109
- 165
9
votes
3 answers
How to change the version a gemfile.lock is bundled with
I had two versions of bundler installed locally 1.15.2 and 1.16.1. I had pushed my code and soon realized that the gemfile.lock BUNDLED WITH, updated the version to 1.16.1 and that is not what we want.
I then removed 1.16.1 locally and now my…

Chris
- 367
- 4
- 16
9
votes
1 answer
Git Push to Rails Production Gives Response Your Ruby version is 1.9.3, but your Gemfile specified 2.2.2 When Ruby Version is 2.2.2
I have seen this error all over the place, but none of the solutions I have found have helped to fix the issue. I am developing a rails app locally on a Mac and have set up a droplet on DigitalOcean to push the app to. My droplet is running Ubuntu…

Carl
- 1,246
- 3
- 21
- 39
6
votes
3 answers
Bundler::RubyVersionMismatch: Your Ruby version is 1.9.3, but your Gemfile specified 2.0.0
I am using a Mac with Pow, Ruby, Rails and a bunch of useful gems. I recently got this error whenever I try to open my app.
Bundler::RubyVersionMismatch: Your Ruby version is 1.9.3, but your Gemfile specified 2.0.0
I understand the error, but I…

Liyali
- 5,643
- 2
- 26
- 40
4
votes
3 answers
Gem install wrong number of arguments (given 1, expected 0)
When I run bundle, I get the following:
The `bundle' command exists in these Ruby versions:
2.1.8
2.4.2
jruby-9.1.15.0
My project uses Ruby-2.5.1, so I'm trying to update my bundler using gem install bundler, but I get the following…

Spencer Bailey
- 43
- 1
- 7
4
votes
4 answers
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. on CenOS 6.5
Installing Redmine.
I've tried,
bundle install --without development test postgresql sqlite
, but error.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current…

Johnson
- 147
- 2
- 7
3
votes
1 answer
Rails 5.0.2 incompatibility with bundler 2.0.1
I currently am running Rails 5.0.2 with bundler(<2.0, >=1.3.0). This morning when I ran 'gem install bundler', it ended up installing bundler 2.0.1 which is now incompatible with Rails 5.0.2. I'm wondering if I should be upgrading my Rails version…

user1066568
- 717
- 3
- 15
- 32
3
votes
1 answer
Unable to run sh script from remote computer
I'm trying to run the following script from a remote computer on a Linux computer with RVM:
plink.exe -pw root@< Linux ip> /root/script.sh
ERROR: Error installing /usr/local/rvm/gems/ruby-1.9.2-p290/cache/bundler-1.0.22.gem: bundler requires…

judith
- 805
- 2
- 12
- 17
2
votes
2 answers
after bundler installed with specific version why version of bundler did not change?
I got following error for bundle
Bundler could not find compatible versions for gem "bundler": In
Gemfile:
bundler (~> 1.15)
Current Bundler version:
bundler (2.0.1) This Gemfile requires a different version of Bundler. Perhaps you…
user4778505
2
votes
1 answer
Could not find ast-2.3.0 in any of the sources
The Dockerfile is deprecated.
Here I am installing bundle install and create a new directory /bundle where the bundle is installed. While running this image as a container, I am mounting the current directory to /code which is the WORKDIR so that…

Jayabalan Bala
- 997
- 1
- 9
- 16
2
votes
1 answer
Could not find chunky_png-1.3.3 in any of the sources
When I try to run a new Foundation Projekt over the Terminal, this line above seems to make my projekt not running correctly. The whole answer here:
xxxxxMacBookAir:htdocs xxxxx$ foundation new _lutz2015
Creating ./_lutz2015
create …

eko
- 21
- 6
1
vote
1 answer
Can't seem to get bundler working with rails 2.3
I am on rails 2.3.5 and ruby 1.8.7
I keep trying to run the bundler command and it doesn't seem to work anymore.
I keep getting
undefined method `[]' for nil:NilClass (NoMethodError)
Here is the trace when running bundler install
…

ericraio
- 1,469
- 14
- 35