# Rails startup error in segments.rb

**URL:** <https://www.ruby-forum.com/t/rails-startup-error-in-segments-rb/159215>\
**Category:** Rails\
**Created:** [February 2, 2009, 1:44pm UTC](https://www.ruby-forum.com/t/rails-startup-error-in-segments-rb/159215 "2009-02-02T13:44:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![asoto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@asoto](https://www.ruby-forum.com/u/asoto)\
**Post date:** [February 2, 2009, 1:44pm UTC](https://www.ruby-forum.com/t/rails-startup-error-in-segments-rb/159215/1 "2009-02-02T13:44:21Z")

</div>

=\> 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](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.

---

<div class="post-metadata">

**Author:** ![asoto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@asoto](https://www.ruby-forum.com/u/asoto)\
**Post date:** [February 3, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/rails-startup-error-in-segments-rb/159215/2 "2009-02-03T21:50:24Z")

</div>

> **[LMGTFY - Let Me Google That For You](https://lmgtfy.app/?q=ruby%2Bwarning%3A%2Bencoding%2Boption%2Bis%2Bignored%2B-%2BN)**
>
> For all those people who find it more convenient to bother you with their question rather than to Google it for themselves.

---

<div class="post-metadata">

**Author:** ![asoto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@asoto](https://www.ruby-forum.com/u/asoto)\
**Post date:** [March 3, 2009, 7:27pm UTC](https://www.ruby-forum.com/t/rails-startup-error-in-segments-rb/159215/3 "2009-03-03T19:27:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![asoto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@asoto](https://www.ruby-forum.com/u/asoto)\
**Post date:** [March 3, 2009, 7:37pm UTC](https://www.ruby-forum.com/t/rails-startup-error-in-segments-rb/159215/4 "2009-03-03T19:37:01Z")

</div>

On Feb 2, 5:16 am, Alex S. [removed\_email\_address@domain.invalid](mailto: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](http://rails.lighthouseapp.com/attachments/91693/routepatch.diff)

---

<div class="post-metadata">

**Author:** ![asoto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@asoto](https://www.ruby-forum.com/u/asoto)\
**Post date:** [March 3, 2009, 8:49pm UTC](https://www.ruby-forum.com/t/rails-startup-error-in-segments-rb/159215/5 "2009-03-03T20:49:39Z")

</div>

On Mar 3, 2009, at 10:26 AM, Jeff S. [removed\_email\_address@domain.invalid](mailto: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
