This project is archived and is in readonly mode.

#4414 ✓invalid
Andrew Forward

Rails3 Segmentation Fault remove_method.rb when you have a library module

Reported by Andrew Forward | April 16th, 2010 @ 01:45 PM

Mac OS X 10.5.8
Rails 3.0.0.beta2
ruby-1.9.1-p376
gem 1.3.6

/Users/aforward/.rvm/gems/ruby-1.9.1-p376/gems/activesupport-3.0.0.beta2/lib/active_support/core_ext/module/remove_method.rb:3: [BUG] Segmentation fault ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin9.8.0]

TO REPEAT THE BUG

rails myapp

cd myapp

rails server -p 3001

Everything works file at http://localhost:3001/

rm public/index.html

rails generate scaffold stuff name:string

rake db:migrate

Everything works file at http://localhost:3001/stuffs

vi lib/fail_fast.rb

Segmentation fault at any url, such as http://localhost:3001/stuffs

Any help would be greatly appreciated in migrating my libraries to Rails3. I first noticed this on Rails3 beta3, but after un-installing everything I still notice it on Rails3 beta2

Comments and changes to this ticket

Create your profile

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

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages