#1324 ✓resolved
Postmodern

Setting the database adapter to sqlite3 in a dm-rails app segfaults on 1.9.2-preview3

Reported by Postmodern | June 17th, 2010 @ 04:22 AM | in 1.0.2

While struggling to get rspec to work, I accidentally changed the adapter for the test database to 'sqlite3'. When invoking any rake task which created a connection to the test database, a segfault occurred. This was on 1.9.2-preview3, but other versions could be effected as well.

Steps to reproduce:

$ rails new test_rails_sqlite3 -m http://datamapper.org/templates/rails.rb
$ cd test_rails_sqlite3
$ bundle install
$ rails generate model User name:string
# Accidentally change the default adapter in config/database.yml to "sqlite3"
$ rake db:migrate --trace
$ rake db:automigrate --trace

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Referenced by

Pages