mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
The :mongoid group does not work in JRuby so the group is only defined for the platform: 'ruby'. In addition installing ruby-debug in JRuby is a manual process so only include the dependency if we are using the platform: 'ruby' Here are the steps necessary to run the devise tests in JRuby using rvm: rvm install jruby rvm use jruby@devise --create gem install bundler --pre gem install jeweler bundle install rake test
29 lines
609 B
Ruby
29 lines
609 B
Ruby
source "http://rubygems.org"
|
|
|
|
if File.exist? File.expand_path('../../rails', __FILE__)
|
|
gem "rails", :path => "../rails"
|
|
else
|
|
gem "rails", :git => "git://github.com/rails/rails.git"
|
|
end
|
|
|
|
platforms :jruby do
|
|
gem 'activerecord-jdbcsqlite3-adapter'
|
|
end
|
|
|
|
platforms :ruby do
|
|
gem "sqlite3-ruby"
|
|
if RUBY_VERSION < '1.9'
|
|
gem "ruby-debug", ">= 0.10.3"
|
|
end
|
|
group :mongoid do
|
|
gem "mongo"
|
|
gem "mongoid", :git => "git://github.com/durran/mongoid.git"
|
|
gem "bson_ext"
|
|
end
|
|
end
|
|
|
|
gem "warden", "0.10.7"
|
|
gem "webrat", "0.7.0"
|
|
gem "mocha", :require => false
|
|
gem "bcrypt-ruby", :require => "bcrypt"
|