Add jruby compatible DB gems.
This commit is contained in:
parent
bd7daa09ae
commit
a85aaf6aaa
1 changed files with 12 additions and 3 deletions
15
Gemfile
15
Gemfile
|
@ -13,9 +13,18 @@ end
|
|||
group :development, :test do
|
||||
require 'rbconfig'
|
||||
|
||||
gem 'sqlite3'
|
||||
gem 'mysql2'
|
||||
gem 'pg'
|
||||
platforms :jruby do
|
||||
gem 'activerecord-jdbcsqlite3-adapter'
|
||||
gem 'activerecord-jdbcmysql-adapter'
|
||||
gem 'activerecord-jdbcpostgresql-adapter'
|
||||
gem 'jruby-openssl'
|
||||
end
|
||||
|
||||
unless defined?(JRUBY_VERSION)
|
||||
gem 'sqlite3'
|
||||
gem 'mysql2'
|
||||
gem 'pg'
|
||||
end
|
||||
|
||||
platforms :mswin, :mingw do
|
||||
gem 'win32console'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue