Gemfile like the following:
ruby '1.9.3'
:engine and :engine_version options.
ruby '1.9.3', :engine => 'jruby', :engine_version => '1.6.7'Learn More: Ruby Directive
:git and :path Dependenciesbundle package command can also package :git and
:path dependencies besides .gem files. This needs to be explicitly enabled
via the --all option. Once used, the --all option will be remembered.
bundle config local.GEM_NAME /path/to/local/git/repository
bundle config local.rack ~/Work/git/rack
Gemfile you would set:
gem 'rack', :github => 'rack/rack', :branch => 'master'
Gemfile and the current branch in the local git
repository do not match, Bundler will abort. This ensures that a
developer is always working against the correct branches, and prevents
accidental locking to a different branch.
Many thanks to Bundler's contributors and sponsors