aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2012-02-01 20:53:29 +1300
committerPhilip Arndt <parndt@gmail.com>2012-02-01 20:53:29 +1300
commita85aaf6aaa0d79445546d2b64ecf0e340851f5ed (patch)
tree5081d3189de7d879b2c9693059a99c35711a2044 /Gemfile
parentbd7daa09ae57ff4fe468b8e277dffb737714dec1 (diff)
downloadrefinerycms-blog-a85aaf6aaa0d79445546d2b64ecf0e340851f5ed.tar.gz
refinerycms-blog-a85aaf6aaa0d79445546d2b64ecf0e340851f5ed.tar.bz2
refinerycms-blog-a85aaf6aaa0d79445546d2b64ecf0e340851f5ed.zip
Add jruby compatible DB gems.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile15
1 files changed, 12 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index e9e3b4d..83bf329 100644
--- a/Gemfile
+++ b/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'