From ccb575ba680699d893362edd854e8a389f4f8dd3 Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Mon, 12 Mar 2012 19:15:49 -0500 Subject: [PATCH] Specify special sqlite adapter on JRuby in top-level Gemfile --- Gemfile | 10 ++++++++++ test_app/Gemfile | 1 + 2 files changed, 11 insertions(+) diff --git a/Gemfile b/Gemfile index fa75df1..42fe3e3 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,13 @@ source 'https://rubygems.org' +platforms :jruby do + gem 'activerecord-jdbcsqlite3-adapter' + gem 'jdbc-sqlite3' + gem 'jruby-openssl' +end + +platforms :ruby, :mswin, :mingw do + gem 'sqlite3' +end + gemspec diff --git a/test_app/Gemfile b/test_app/Gemfile index d2b2026..4ac1533 100644 --- a/test_app/Gemfile +++ b/test_app/Gemfile @@ -7,6 +7,7 @@ gem 'impressionist', :path => '../' platforms :jruby do gem 'activerecord-jdbcsqlite3-adapter' gem 'jdbc-sqlite3' + gem 'jruby-openssl' end platforms :ruby, :mswin, :mingw do