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.