Files
devise/Gemfile
Stephen Bannasch 83dc11df14 Gemfile works with JRuby 1.5.1, tests run
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
2010-07-27 14:35:18 -04:00

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"