summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramurrel <amurrel@purdue.edu>2014-09-06 20:32:00 -0400
committeramurrel <amurrel@purdue.edu>2014-09-06 20:32:00 -0400
commit03cb72e56960958d8fd302883256026b7eaf451b (patch)
tree3c3447d594ff8e9dfbbe71f0acd3e967c59a6961
parentc3953f62c98cb51596673a48087a1124b7793e51 (diff)
parent0abcb80707b95ed52eeb0943f440c1290bf37d36 (diff)
Merge branch 'clean-fix' into clean
-rw-r--r--Gemfile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index 13cb76a..c64c0f0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -13,8 +13,14 @@ gem 'httparty'
gem 'simple_captcha2', require: 'simple_captcha'
group :development, :test do
- # Use sqlite3 as the database for Active Record
- gem 'sqlite3'
+ # Use sqlite3 as the database
+ gem 'sqlite3', platforms: [ :mri ]
+ gem 'activerecord-jdbcsqlite3-adapter', platforms: [ :jruby ]
+end
+group :production do
+ # USe PostgresQL as the database
+ gem 'pg', platforms: [ :mri ]
+ gem 'activerecord-jdbcpostgresql-adapter', platforms: [ :jruby ]
end
# group :test do
@@ -34,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'
@@ -59,6 +66,7 @@ group :doc do
gem 'sdoc', require: false
end
+gem "warbler", require: false, platforms: [ :jruby ], groups: [ :development ]
# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.1.2'