Rails3.rb template mod for jdbcsqlite3?

I’m finally taking the plunge to take a look at Rails3 using JRuby 1.5.0
on Win7 and have a question regarding whether the “default.rb” template
used by http://jruby.org/rails3.rb should be updated to explicitly add a
line to the “if defined?(JRUBY_VERSION)” section.

gem ‘activerecord-jdbcsqlite3-adapter’

also wondering if the template shouldn’t munge the adapter settings to
jdbcsqlite3 by default if sqlite3 db engine is being used.

Jon

creation steps…

install rails --pre and activerecord-jdbc* and jdbc-sqlite3 gems

mkdir railsnoob
cd railsnoob
git init
jruby -S rails . -m http://jruby.org/rails3.rb --git

edit config/database.yml and set adapter to jdbcsqlite3

edit Gemfile and add gem ‘activerecord-jdbcsqlite3-adapter’

jruby -S rake db:create
jruby -S rake about
jruby -S rails server


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email