I just upgraded to ruby 1.8.3 and now Rails doesn't work: znmeb@DreamGate ~ $ rails demo /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13:in `remove_const': constant Logger::Format not defined (NameError) from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support.rb:31 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record.rb:29 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:182:in `activate' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:181:in `activate' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:167:in `activate' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `activate' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:37:in `require_gem_with_options' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `require_gem' from /usr/bin/rails:17 znmeb@DreamGate ~ $ ------------------------------------------------------------------------------ This is in fact a known upstream problem, which I just found myself and an hour or so later saw described on the Rails mailing list. So go ahead and mark this "resolved upstream". :) The discussion can be found at http://article.gmane.org/gmane.comp.lang.ruby.rails/23132
Created attachment 69262 [details, diff] patch from http://dev.rubyonrails.org/ticket/2245 i attached the patch from http://dev.rubyonrails.org/ticket/2245 ! using the patch with "patch /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb as_clean_logger_rb-fixed.patch" fixed the problem for me! steffen
(In reply to comment #1) > Created an attachment (id=69262) [edit] > patch from http://dev.rubyonrails.org/ticket/2245 > > i attached the patch from http://dev.rubyonrails.org/ticket/2245 ! > using the patch with "patch > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb > as_clean_logger_rb-fixed.patch" fixed the problem for me! > > steffen So is this a Rails bug, a Ruby bug or an ActiveSupport bug? They're all in Portage, right? Speaking of which, how tightly integrated is Portage with the Ruby Gems package management system? I'm just starting to learn all this Ruby and Rails stuff, and in distros other than Gentoo, I've pretty much had to build Ruby from source, install Ruby Gems and install everything as a Gem, rather than just being able to go out and install an RPM or a DEB. I like the Gentoo way better. :) emerge rails
hi, i think it's a activesupport bug! you can also see this on the patch path: /usr/lib/ruby/gems/1.8/gems/ACTIVE_SUPPORT-1.1.1/lib/ACTIVE_SUPPORT/clean_logger.rb steffen (In reply to comment #2) > (In reply to comment #1) > > Created an attachment (id=69262) [edit] [edit] > > patch from http://dev.rubyonrails.org/ticket/2245 > > > > i attached the patch from http://dev.rubyonrails.org/ticket/2245 ! > > using the patch with "patch > > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb > > as_clean_logger_rb-fixed.patch" fixed the problem for me! > > > > steffen > > > So is this a Rails bug, a Ruby bug or an ActiveSupport bug? They're all in > Portage, right? > > Speaking of which, how tightly integrated is Portage with the Ruby Gems package > management system? I'm just starting to learn all this Ruby and Rails stuff, and > in distros other than Gentoo, I've pretty much had to build Ruby from source, > install Ruby Gems and install everything as a Gem, rather than just being able > to go out and install an RPM or a DEB. I like the Gentoo way better. :) > > emerge rails
Fixed as activesupport-1.1.1-r1