Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add jruby compatible DB gems.

  • Loading branch information...
commit a85aaf6aaa0d79445546d2b64ecf0e340851f5ed 1 parent bd7daa0
@parndt parndt authored
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'
Please sign in to comment.
Something went wrong with that request. Please try again.