Top "Gemfile" questions

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

Difference between gem and require (require open-uri)

I just wanted to understand for my self. I'm using the nokogiri gem (for parsing HTML). If I got it …

ruby gemfile
Bundler could not find compatible versions for gem

I've added a gem 'koala' to my Gemfile and seems to have thrown gem versions out of whack when I …

ruby-on-rails-3 version-control rubygems bundler gemfile
Bundle install is not working

I'm developing Ruby on Rails on Windows. Something went wrong with our local network and can't access https://www.rubygems.…

ruby-on-rails ruby bundle gemfile
Where is the "Gemfile" in Ruby?

I often see in documentation on the Internet, "put this in the Gemfile". I don't know where and what this "…

ruby rubygems installation gemfile
How to deal with bundler updates (Gemfile.lock) in collaborative context?

I have been a lone programmer on a particular project, but now someone else has joined as collaborator. With just …

ruby-on-rails version-control bundler collaboration gemfile
Understanding Gemfile.lock: Is it okay to delete Gemfile.lock then run bundle install again?

We would test this, but don't want to risk ruining our dev environment if this isn't supposed to happen. Is …

ruby-on-rails ruby-on-rails-3 rubygems gemfile
Could not find gem 'pg (= 0.12.4) ruby' in any of the gem sources listed in your Gemfile or available on this machine

I'm trying to run the following for on my Kali box, see error. root@kali:~# ruby /usr/share/metasploit-framework/tools/…

ruby-on-rails ruby gem rubygems gemfile
Why doesn't "rails s" work from the app directory?

I'm in my app folder, but the command rails s is not working. I read through quite a few posts …

ruby-on-rails ruby gemfile
rails 5.0.0 when installing "nio4r" : Failed to build gem native extension

Here is the logs: http://pastebin.com/CAgur9xd Installing nio4r 1.2.1 with native extensions Gem::Ext::BuildError: ERROR: Failed …

ruby-on-rails ruby rubygems bundler gemfile
The bundle currently has rails locked at 4.0.4

In Gemfile I made the following change: -bash> git diff Gemfile ... -gem 'rails', '4.0.4' +gem 'rails', '4.0.5' …

ruby-on-rails ruby-on-rails-4 bundle upgrade gemfile