Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More accurate JRuby gem requirements

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
commit c0db7840fe6dfd9aef8120b24e05f7e6f400d382 1 parent aacf258
@nicksieger nicksieger authored josevalim committed
Showing with 15 additions and 5 deletions.
  1. +15 −5 Gemfile
View
20 Gemfile
@@ -17,15 +17,25 @@ if mri || RUBY_ENGINE == "rbx"
gem 'yajl-ruby'
gem "nokogiri", ">= 1.4.0"
elsif RUBY_ENGINE == "jruby"
- gem "jruby-debug"
+ gem "ruby-debug"
+ gem "jruby-openssl"
end
# AR
-gem "sqlite3-ruby", "= 1.3.0.beta.2", :require => 'sqlite3'
+if mri || RUBY_ENGINE == "rbx"
+ gem "sqlite3-ruby", "= 1.3.0.beta.2", :require => 'sqlite3'
+
+ group :db do
+ gem "pg", ">= 0.9.0"
+ gem "mysql", ">= 2.8.1"
+ end
+elsif RUBY_ENGINE == "jruby"
+ gem "activerecord-jdbcsqlite3-adapter"
-group :db do
- gem "pg", ">= 0.9.0"
- gem "mysql", ">= 2.8.1"
+ group :db do
+ gem "activerecord-jdbcmysql-adapter"
+ gem "activerecord-jdbcpostgresql-adapter"
+ end
end
# AP
Please sign in to comment.
Something went wrong with that request. Please try again.