gemfile <<-RB gem 'rack' gem 'rack-test' if RUBY_VERSION >= '1.9.0' gem 'mocha', '~> 0.13.0' else gem 'mocha', '< 0.13' end RB