Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 84bd8d8708
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (33 sloc) 0.799 kB
rails_versions = {
'3.0.20' => {
'mysql' => '2.8.1',
'mysql2' => '0.2.18',
'pg' => nil,
'sqlite3' => nil
},
'3.1.10' => {
'mysql' => '2.8.1',
'mysql2' => '0.3.11',
'pg' => nil,
'sqlite3' => nil
},
'3.2.11' => {
'mysql' => '2.8.1',
'mysql2' => '0.3.11',
'pg' => nil,
'sqlite3' => nil
}
}
rails_versions.keys.each do |rails_version|
rails_versions[rails_version].keys.each do |database_driver|
appraise "rails_#{rails_version}_database_#{database_driver}" do
gem 'rails', rails_version
if rails_versions[rails_version][database_driver].nil?
gem database_driver
else
gem database_driver, rails_versions[rails_version][database_driver]
end
gem 'pacecar', :path => '../'
end
end
end
Jump to Line
Something went wrong with that request. Please try again.