Rails startup error in segments.rb


#1

=> Booting WEBrick…
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.2.2/lib/
action_controller/routing/segments.rb:6: warning: encoding option is
ignored - N
=> Rails 2.2.2 application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2009-02-02 12:03:54] INFO WEBrick 1.3.1

Can anyone explain me what exactly it means ? Ruby 1.9.1 on cygwin. On
Ruby 1.8.7 Rails started without this error.


#2

http://letmegooglethatforyou.com/?q=ruby+warning%3A+encoding+option+is+ignored+-+N


#3

When I googled the warning, this post was the first thing (and the
second) that came up. If you’ve found more info, I’d love to hear it.


#4

On Feb 2, 5:16 am, Alex S. removed_email_address@domain.invalid wrote:

/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.2.2/lib/action_controller/routing/segments.rb:6: warning: encoding option is ignored - N

Found by googling segments.rb SAFE_PCHAR patch:
http://rails.lighthouseapp.com/attachments/91693/routepatch.diff


#5

On Mar 3, 2009, at 10:26 AM, Jeff S. removed_email_address@domain.invalid wrote:

=> Booting WEBrick…
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.2.2/lib/
action_controller/routing/segments.rb:6: warning: encoding option is
ignored - N
=> Rails 2.2.2 application started onhttp://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2009-02-02 12:03:54] INFO WEBrick 1.3.1

Can anyone explain me what exactly it means ? Ruby 1.9.1 on
cygwin. On
Ruby 1.8.7 Rails started without this error.

This has been fixed in Edge Rails.

Good luck,

-Conrad