Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Segmentation fault on rake db:create, multiple rubies, multiple dbs

#5193

I'm getting segmentation faults every time I try to create a db on a fresh Rails 3.0.0.beta4 app. Here's the Ruby 1.9.2-head output:

https://gist.github.com/92ea2728cdab5bfe4844

The same occurs for each of these rubies I've tried on my Snow Leopard machine:

   ree-1.8.7-2010.02 [ x86_64 ]
   ruby-1.8.7-p249 [ x86_64 ]
=> ruby-1.9.2-head [ x86_64 ]
   ruby-1.9.2-rc2 [ x86_64 ]

I've also tried sqlite3-ruby and pg gems in I think all of the rubies.

My Gemfile looks like this:

https://gist.github.com/af68170253715725a56e

All I've done is create the Rails app, alter the Gemfile, gem install bundler, bundle install, and rake db:create. I'm using rvm to create a new gemset and switch between rubies.

Reported by Dan Croak · July 26th, 2010 @ 05:37 AM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • Importance changed from to Low

    Which version of bundler are you using? I believe it's best if you try using 1.0.0.beta.10 -- although RC1 could be out soon.

    July 26th, 2010 @ 07:26 AM

  2. Dan Croak
    Dan Croak

    Rohit,

    Good call. I switched the process to

    gem install bundler --pre
    

    and the segmentation faults seem to have stopped. Previously I was using bundler-0.9.26.

    Thanks!
    Dan

    July 26th, 2010 @ 01:23 PM

  3. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to invalid

    Cheers. :)

    Closing ticket, if the issue persists feel free to re-open or make a new one.

    July 26th, 2010 @ 01:25 PM