Specify special sqlite adapter on JRuby in top-level Gemfile

This commit is contained in:
Erik Michaels-Ober 2012-03-12 19:15:49 -05:00
parent d0e7326f2b
commit ccb575ba68
2 changed files with 11 additions and 0 deletions

10
Gemfile
View File

@ -1,3 +1,13 @@
source 'https://rubygems.org' source 'https://rubygems.org'
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter'
gem 'jdbc-sqlite3'
gem 'jruby-openssl'
end
platforms :ruby, :mswin, :mingw do
gem 'sqlite3'
end
gemspec gemspec

View File

@ -7,6 +7,7 @@ gem 'impressionist', :path => '../'
platforms :jruby do platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter' gem 'activerecord-jdbcsqlite3-adapter'
gem 'jdbc-sqlite3' gem 'jdbc-sqlite3'
gem 'jruby-openssl'
end end
platforms :ruby, :mswin, :mingw do platforms :ruby, :mswin, :mingw do