Created
June 3, 2011 14:18
-
-
Save simonharrer/1006407 to your computer and use it in GitHub Desktop.
jruby on rails with sqlite3 on windows config
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
# Use simple JRuby 1.6.3 and Rails 3.0.7 to work on windows with sqlite3 | |
# Add these gems to enable using jruby with sqlite3 | |
gem 'activerecord-jdbcsqlite3-adapter' | |
gem 'jdbc-sqlite3' | |
gem 'jruby-openssl' | |
# Use old rake to let it work | |
gem 'rake', '0.8.7' | |
# Use this adapter in your database configuration | |
development: | |
adapter: jdbcsqlite3 | |
database: db/development.sqlite3 | |
pool: 5 | |
timeout: 5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment