Bundler is developed entirely by a team of volunteers. Support their work and help make Bundler better for everyone.
ruby
directive in the Gemfile
:
ruby 'RUBY_VERSION', :engine => 'ENGINE', :engine_version => 'ENGINE_VERSION', :patchlevel => 'RUBY_PATCHLEVEL'
ruby '1.9.3', :engine => 'jruby', :engine_version => '1.6.7'
ruby '1.9.3', :patchlevel => '448'
Gemfile
. If things don't match, Bundler will raise an Exception explaining what doesn't match.
Your Ruby version is 1.8.7, but your Gemfile specified 1.9.3
:engine
and :engine_version
are optional. When these options are omitted, this means the app is compatible with a particular Ruby ABI but the engine is irrelevant. When :engine
is used, :engine_version
must also be specified.
platform
command with the --ruby
flag, you can see what ruby
directive is specified in the Gemfile
.
ruby 1.9.3 (jruby 1.6.7)Learn More: bundle platform
ruby
directive, :patchlevel
is optional, as patchlevel releases are usually compatible and include important security fixes. The patchlevel option checks the RUBY_PATCHLEVEL
constant, and if not specified then bundler will simply ignore it.