diff options
| -rw-r--r-- | Gemfile.lock | 1 | ||||
| -rw-r--r-- | config/database.yml | 4 | 
2 files changed, 3 insertions, 2 deletions
| diff --git a/Gemfile.lock b/Gemfile.lock index 9da5dfef8..ea51bb146 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -196,6 +196,7 @@ GEM      jruby-rack (1.1.6)      jruby-rack-worker (0.3-java)        jruby-rack (>= 1.0.1) +    json (1.7.3)      json (1.7.3-java)      json_pure (1.7.3)      launchy (2.1.0) diff --git a/config/database.yml b/config/database.yml index a3e357d3a..599c581da 100644 --- a/config/database.yml +++ b/config/database.yml @@ -5,7 +5,7 @@  # gem 'activerecord-jdbcsqlite3-adapter'  #  development: -  adapter: jdbcpostgresql +  adapter: <%= RUBY_PLATFORM == "java" ? "jdbcpostgresql" : "postgresql" %>    database: chouette_dev    encoding: utf8    username: chouette @@ -15,7 +15,7 @@ development:  # re-generated from your development database when you run "rake".  # Do not set this db to the same as development or production.  test: -  adapter: jdbcpostgresql +  adapter: <%= RUBY_PLATFORM == "java" ? "jdbcpostgresql" : "postgresql" %>    database: chouette_test    encoding: utf8    username: chouette | 
