Permalink
Browse files

Add jruby compatible DB gems.

  • Loading branch information...
1 parent bd7daa0 commit a85aaf6aaa0d79445546d2b64ecf0e340851f5ed @parndt parndt committed Feb 1, 2012
Showing with 12 additions and 3 deletions.
  1. +12 −3 Gemfile
View
15 Gemfile
@@ -13,9 +13,18 @@ end
group :development, :test do
require 'rbconfig'
- gem 'sqlite3'
- gem 'mysql2'
- gem 'pg'
+ platforms :jruby do
+ gem 'activerecord-jdbcsqlite3-adapter'
+ gem 'activerecord-jdbcmysql-adapter'
+ gem 'activerecord-jdbcpostgresql-adapter'
+ gem 'jruby-openssl'
+ end
+
+ unless defined?(JRUBY_VERSION)
+ gem 'sqlite3'
+ gem 'mysql2'
+ gem 'pg'
+ end
platforms :mswin, :mingw do
gem 'win32console'

0 comments on commit a85aaf6

Please sign in to comment.