Top "Gemfile" questions

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

bundle install returns "Could not locate Gemfile"

I'm new to Rails and am currently working through a guide. The guide states: Use a text editor to update …

ruby-on-rails installation bundle gemfile
Should Gemfile.lock be included in .gitignore?

I'm sort of new to bundler and the files it generates. I have a copy of a git repo from …

ruby git version-control bundler gemfile
Your Ruby version is 2.0.0, but your Gemfile specified 2.1.0

When I try to bundle install I get the following message: Your Ruby version is 2.0.0, but your Gemfile specified 2.1.0 In …

ruby gemfile
What does 'require: false' in Gemfile mean?

Does this: gem 'whenever', require: false mean that the gem needs to be installed, or does it mean it is …

ruby bundler gemfile
What is the difference between Gemfile and Gemfile.lock in Ruby on Rails

I am a beginner to Ruby on Rails and I am using Rails 3.0.9. What is the difference between Gemfile and …

ruby-on-rails ruby bundler gemfile gemfile.lock
Gem::LoadError for mysql2 gem, but it's already in Gemfile

Gem::LoadError Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your …

ruby-on-rails mysql2 gemfile
What is the use of Gemfile in rails?

What is the use of Gemfile in rails? How to use Gemfile?

ruby-on-rails ruby gemfile
What can I do about a Bundler::GemfileNotFound error?

I just installed bundler-1.3.3 successfully. However, when I try to run bundle install I get Bundler::GemfileNotFound What is wrong …

gem rvm bundler gemfile
What is the difference between ~> and >= when specifying rubygem in Gemfile?

I often see the following notation(~>) in Gemfile. gem "cucumber", "~>0.8.5" gem "rspec", "~>1.3.0" I know the sign (>=) …

ruby rubygems gemfile
Rails: Your user account isn't allowed to install to the system RubyGems

I am running the command bundle install in a project folder. In some project folders it will produce an error …

ruby-on-rails ruby rubygems bundler gemfile