This project is archived and is in readonly mode.
Ruby 1.9 compat: script encoding should be explicitly defined by magic comment
-
Akira Matsuda
Ruby 1.9.1 preview 2 + Edge Rails still fails in "rails" command with the following error, and this patch is still effective to fix the problem. Any reason to put off the commit?
% ruby19 ~/src/rails/railties/bin/rails test_app $RAILS_DIR/activesupport/lib/active_support/core_ext/integer/inflections.rb:1:in `require': $RAILS_DIR/activesupport/lib/active_support/inflector.rb:286: invalid multibyte char (US-ASCII) (SyntaxError) $RAILS_DIR/activesupport/lib/active_support/inflector.rb:286: invalid multibyte char (US-ASCII) $RAILS_DIR/activesupport/lib/active_support/inflector.rb:286: syntax error, unexpected $end, expecting ')' elsif "foo" != Inflector.transliterate("föö") ^ from $RAILS_DIR/activesupport/lib/active_support/core_ext/integer/inflections.rb:1:in `<top (required)>' from $RAILS_DIR/activesupport/lib/active_support/core_ext/integer.rb:2:in `require' from $RAILS_DIR/activesupport/lib/active_support/core_ext/integer.rb:2:in `<top (required)>' from $RAILS_DIR/activesupport/lib/active_support/core_ext.rb:3:in `require' from $RAILS_DIR/activesupport/lib/active_support/core_ext.rb:3:in `block in <top (required)>' from $RAILS_DIR/activesupport/lib/active_support/core_ext.rb:1:in `each' from $RAILS_DIR/activesupport/lib/active_support/core_ext.rb:1:in `<top (required)>' from $RAILS_DIR/activesupport/lib/active_support.rb:55:in `require' from $RAILS_DIR/activesupport/lib/active_support.rb:55:in `<top (required)>' from $RAILS_DIR/railties/lib/rails_generator.rb:28:in `require' from $RAILS_DIR/railties/lib/rails_generator.rb:28:in `<top (required)>' from $RAILS_DIR/railties/bin/rails:13:in `require' from $RAILS_DIR/railties/bin/rails:13:in `<main>' -
Jeremy Kemper
- State changed from new to committed
It was committed on November 7: b5291ed0f1e956cc98e1bfc8e50ee9fb4f6a661b
-
Ryan Bigg
Automatic cleanup of spam.
-
Jeff Kreeftmeijer
Automatic cleanup of spam.
