Segmentation fault on RMagick2

Hi, I’m getting this error when I try to create a migration file:

$ script/generate migration create_session
/Users/administator/.gem/ruby/1.8/gems/rmagick-2.13.1/lib/
RMagick2.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-darwin10]

Abort trap

I’m not sure how to solve it. Any ideas?

I just uninstalled ImageMagick, then reinstalled it.
Then uninstalled RMagick and reinstalled it.

Then the error messages said that a number of gems were missing…so
I reinstalled them.

Next, I was getting the error on a completely different gem
(Nokogiri).
So I uninstalled that gem and reinstalled it.

Now I can actually execute my command but with an error:

$ script/generate migration create_session
WARNING: Nokogiri was built against LibXML version 2.7.8, but has
dynamically loaded 2.7.3
…/vendor/rails/railties/lib/rails_generator/lookup.rb:211:Warning:
Gem::SourceIndex#search support for Regexp patterns is deprecated, use
#find_name
exists db/migrate
create db/migrate/20110124171504_create_session.rb

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs