I’m currently developing a Rails 2 project that I’d like to migrate
across to Rail 3. However I’m having real trouble in the first place
getting Rails 3 to work straight out of the box with a blank project.
Initially I tried getting this working a JRuby 1.5 snapshot & then 1.4.
I’ve now been trying the same with Ruby 1.9.1-p378-rc2 from
RubyInstaller with the same results.
Upon executing “ruby script\rails server” (rails server doesn’t work in
Windows. Running Win7 btw) I always get the following error…
C:\Users\Phil O.\Desktop\Project\Rails>ruby script\rails server
<module:Rails>': superclass mismatch for class Application (TypeError) from C:/Users/Phil Ostler/Desktop/Project/Rails/config/application.rb:8:in<top
require' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta/lib/rails/co mmands.rb:36:in<top (required)>’
require' from script/rails:10:in’
I’ve tried using the latest gems as well as following any guides I could
find and matching the gem versions they used but always get the same
Current local gem list:
*** LOCAL GEMS ***
activesupport (3.0.0.beta, 2.3.5)
rack-mount (0.6.0, 0.4.7)
I’ve googled this and vaguely understand the error but don’t know how to
go about fixing it. I get the feeling this might not be my setup and
more a gem that’s breaking Rail 3 but that could be miles off the mark.