Top "Gemfile" questions

Gemfile - A format for describing gem dependencies for Ruby programs.

Your bundle is locked to rake (12.0.0), but that version could not be found in any of the sources listed in your Gemfile.

I get the following error message when starting the rails server: Your bundle is locked to rake (12.0.0), but that version …

ruby-on-rails ruby gemfile gemfile.lock
What does the ~> symbol mean in a bundler Gemfile?

What does the -> mean next to a version number in a Gemfile? For example: gem 'sass-rails', '~> 3.1.5…

ruby-on-rails bundler gemfile
What is the difference between "~> 4.0.1", "4.0.1" and no version specifier in a Gemfile?

In Rails Gemfile, what are the differences between these : gem "gemname", "~> 4.0.1" and gem "gemname", "4.0.1" and gem "gemname" Also what …

ruby-on-rails ruby gem gemfile
Gemfile.lock contains merge conflicts

I just ran git push origin master and got this error after trying to run rails s: Your Gemfile.lock …

ruby-on-rails terminal bundle gemfile gemfile.lock
Set ruby version in Gemfile

I can set ruby version in Gemfile as follows: ruby '2.0.0' But what if I want to have a …

ruby-on-rails ruby bundler gemfile
Rails 3.1.2 - Bundler could not find compatible versions for gem "railties"

I am trying to install the new version of the twitter-bootstrap-rails gem (v2), but getting the error above. This is …

ruby-on-rails-3.1 bundler gemfile
Ruby Bundler multiple sources in Gemfile

I need to ensure some of my gems are installed from our own gem repository rather than rubygems, while the …

ruby bundler gemfile
Capybara::ElementNotFound: Unable to find xpath "/html"

I'm following the Ruby on Rails tutorial at http://ruby.railstutorial.org/chapters/static-pages and came across the following error …

ruby-on-rails ruby rspec capybara gemfile
How do I keep all gems in Gemfile compatible after an update

My question has already been asked here, but I am trying to understand the reasons behind it as opposed to …

ruby-on-rails rspec ruby-on-rails-3.1 bundler gemfile
I can't run "bundle update" because of "mysql2" gem

I have this in the Gemfile: gem 'mysql2' But when I run bundle update, I get this error message: …

mysql ruby-on-rails ruby gem gemfile