Slide 80
Slide 80 text
Bundler
# Gemfile
gemspec
gem ‘mysql2’,
:platform => :ruby
gem ‘jdbc-mysql’,
:platform => :jruby
Sometimes, though, it’s necessary to be more specific than a gemspec allows - at least, for
development dependencies. One example is different libraries for different rubies. If you’re
doing this, then best to not list your development dependencies in the gemspec - after all, if
anyone’s modifying your gem source, they’ll be using Bundler too.