From c46d1eeee1a501778ece9490d1e27634a6591b11 Mon Sep 17 00:00:00 2001 From: David Acevedo Date: Wed, 21 Mar 2012 23:41:03 -0700 Subject: [PATCH] Changed the Gemfile to be Jruby compatible. --- Gemfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 7fb3e5417..1f1a711c2 100644 --- a/Gemfile +++ b/Gemfile @@ -2,6 +2,11 @@ source 'http://rubygems.org' gem 'rails', '~> 3.2.2' +platforms :jruby do + gem 'activerecord-jdbc-adapter', :require => false + gem 'jruby-openssl' +end + # Gems used only for assets and not required # in production environments by default. group :assets do @@ -26,7 +31,12 @@ group :production do end group :development, :test do - gem 'sqlite3' + platforms :jruby do + gem 'activerecord-jdbcsqlite3-adapter', :require => false + end + platforms :ruby do + gem 'sqlite3' + end gem 'rspec-rails' gem 'factory_girl_rails' gem 'jasmine', '1.1.0'