Created
January 12, 2011 07:47
-
-
Save marhan/775831 to your computer and use it in GitHub Desktop.
Switch for sqlite3 with jruby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# JRUBY_VERSION has to be set as Shell variable. | |
if defined?(JRUBY_VERSION) | |
gem 'jdbc-sqlite3' | |
gem 'activerecord-jdbc-adapter' | |
gem 'activerecord-jdbcsqlite3-adapter' | |
gem 'jruby-openssl' | |
gem 'jruby-rack' | |
gem 'warbler' | |
else | |
gem 'sqlite3-ruby', :require => 'sqlite3' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment