Silly question maybe but do you want to run under 2.x or 1.x? If it's the latter did you change config/environment.rb? Looks like you're pulling in 2.3.2 instead of 1.x.. RAILS_GEM_VERSION = '1.2.3' unless defined? RAILS_GEM_VERSION
This could also happen I think if you have a copy of rails in the vendor directory. Although it looks like it's pulling from "Library" If it's 2.x make sure you don't have a call to "fragment_cache_store" in config/environment.rb or config/environments/development.rb. Regards, Kerry Patrick Crowley wrote: > Hey, folks. > > Has anyone tried running their Rails 1.2.3 or 1.x apps lately? > > In config/boot.rb updated my "require_gem" statements to just use > "gem" (so that the old version of Rails can work with my current > RubyGems). > > Once you do that, you get this message: > Your config/boot.rb is outdated: Run "rake rails:update". > > If you run that task, it replaces your boot.rb. When I try to launch > the app, I get this: > > > ******************************************************************* > * config.breakpoint_server has been deprecated and has no > effect. * > > ******************************************************************* > > /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb:580:in > `send': undefined method `fragment_cache_store=' for > ActionController::Base:Class (NoMethodError) > from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb: > 580:in `initialize_framework_settings' > from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb: > 579:in `each' > from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb: > 579:in `initialize_framework_settings' > from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb: > 576:in `each' > from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb: > 576:in `initialize_framework_settings' > from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb: > 155:in `process' > from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb: > 113:in `send' > from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb: > 113:in `run' > ... 6 levels... > from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:84 > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' > from script/server:3 > > -- Patrick > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby -~----------~----~----~----~------~----~------~--~---
