diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-07-10 21:34:11 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-07-10 21:34:11 -0400 |
commit | 1a87df2c13842ba1d5583ab30e3bc198245dcdc1 (patch) | |
tree | 40db45fbce7fafcf190ad2e4c5e0b3a704d9bef5 /Gemfile | |
parent | 004fa82a35b5083183db38ac1ccd15017ca2f9b9 (diff) |
Port to JRuby
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -14,11 +14,13 @@ gem 'simple_captcha2', require: 'simple_captcha' group :development, :test do # Use sqlite3 as the database - gem 'sqlite3' + gem 'sqlite3', platforms: [ :mri ] + gem 'activerecord-jdbcsqlite3-adapter', platforms: [ :jruby ] end group :production do # USe PostgresQL as the database - gem 'pg' + gem 'pg', platforms: [ :mri ] + gem 'activerecord-jdbcpostgresql-adapter', platforms: [ :jruby ] end # group :test do @@ -38,7 +40,8 @@ gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.0.0' # See https://github.com/sstephenson/execjs#readme for more supported runtimes -gem 'therubyracer', platforms: :ruby +gem 'therubyracer', platforms: [ :mri ] +gem 'therubyrhino', platforms: [ :jruby ] # Use jquery as the JavaScript library gem 'jquery-rails' |