mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
23 lines
371 B
Ruby
23 lines
371 B
Ruby
source :rubygems
|
|
|
|
gemspec
|
|
|
|
platforms :ruby do
|
|
gem "sqlite3"
|
|
end
|
|
|
|
platforms :jruby do
|
|
gem "minitest", ">= 3.0"
|
|
gem "activerecord-jdbcsqlite3-adapter", "~> 1.2.2.1"
|
|
end
|
|
|
|
case ENV["RAILS_VERSION"]
|
|
when "master"
|
|
gem "rails", github: "rails/rails"
|
|
when "3.2", nil
|
|
gem "rails", "~> 3.2.0"
|
|
when "3.1"
|
|
gem "rails", "~> 3.1.0"
|
|
when "3.0"
|
|
gem "rails", "~> 3.0.0"
|
|
end
|