1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
draper/Gemfile
Andrew Haines 07263e5077 Revert changes to Gemfile
Don't force the use of guard, or especially the Mac-only fsevent.
2013-02-05 09:43:17 +00:00

37 lines
556 B
Ruby

source :rubygems
gemspec
platforms :ruby do
gem "sqlite3"
end
platforms :jruby do
gem "minitest", ">= 3.0"
gem "activerecord-jdbcsqlite3-adapter"
end
version = ENV["RAILS_VERSION"] || "3.2"
rails = case version
when "master"
{github: "rails/rails"}
else
"~> #{version}.0"
end
mongoid = case version
when "master"
{github: "mongoid/mongoid", branch: "4.0.0-dev"}
when "3.1", "3.2"
"~> 3.0.0"
end
devise = case version
when "3.1", "3.2"
"~> 2.2"
end
gem "rails", rails
gem "mongoid", mongoid if mongoid
gem "devise", devise if devise