# Issue with "undefined method \`named\_route'"

**URL:** <https://www.ruby-forum.com/t/issue-with-undefined-method-named-route/84260>\
**Category:** Rails\
**Created:** [February 2, 2007, 7:51pm UTC](https://www.ruby-forum.com/t/issue-with-undefined-method-named-route/84260 "2007-02-02T19:51:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjs256](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/4bbf92/32.png) [@bjs256](https://www.ruby-forum.com/u/bjs256)\
**Post date:** [February 2, 2007, 7:51pm UTC](https://www.ruby-forum.com/t/issue-with-undefined-method-named-route/84260/1 "2007-02-02T19:51:53Z")

</div>

Howdy,

I’m new to RoR and am learning the ins-and-outs. While installing a  
simple blogging app ([simplelog.net](http://simplelog.net)) I got the error below.

I searched around the forums a bit and what I found leads me to think  
this isn’t an app-specific issue, but rather some kind of larger issue  
that’s affecting a number of people.

Any help would be appreciated…

Thanks,  
B.

C:\rails\SIMPLE~1.1\>rake --trace simplelog\_quick\_setup  
c:0:Warning: require\_gem is obsolete. Use gem instead.  
(in C:/rails/SIMPLE~1.1)  
\*\* Invoke simplelog\_quick\_setup (first\_time)  
\*\* Invoke environment (first\_time)  
\*\* Execute environment  
rake aborted!  
undefined method `named_route' for #<ActionController::Routing::RouteSet:0x3f9f1 70> C:/rails/SIMPLE~1.1/config/../vendor/plugins/theme_support/lib/patches/routeset_ ex.rb:26:in `create\_theme\_routes’  
C:/rails/SIMPLE~1.1/config/…/vendor/plugins/theme\_support/lib/patches/routeset\_  
ex.rb:13:in `draw' C:/rails/SIMPLE~1.1/config/../config/routes.rb:3 c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependenci es.rb:489:in `load’  
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active\_support/dependenci  
es.rb:489:in `load' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependenci es.rb:343:in `new\_constants\_in’  
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active\_support/dependenci  
es.rb:489:in `load' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.1/lib/action_controller/routing.r b:1154:in `load\_routes!’  
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.1/lib/action\_controller/routing.r  
b:1146:in `reload' c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/initializer.rb:287:in `initialize  
\_routing’  
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/initializer.rb:111:in  
`process' c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/initializer.rb:43:in `send’  
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/initializer.rb:43:in  
`run' C:/rails/SIMPLE~1.1/config/../config/environment.rb:8 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem\_original\_re  
quire’  
c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require' c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/tasks/misc.rake:3 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `call’  
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `each’  
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke’  
c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke’  
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in  
`invoke_prerequisit es' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each’  
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `send' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each’  
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in  
`invoke_prerequisit es' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke’  
c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke’  
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `each’  
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 c:/ruby/bin/rake.bat:25:in `load’  
c:/ruby/bin/rake.bat:25

---

<div class="post-metadata">

**Author:** ![bjs256](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/4bbf92/32.png) [@bjs256](https://www.ruby-forum.com/u/bjs256)\
**Post date:** [February 6, 2007, 11:33am UTC](https://www.ruby-forum.com/t/issue-with-undefined-method-named-route/84260/2 "2007-02-06T11:33:57Z")

</div>

Try posting your question on [refwell.com](http://refwell.com). You might get your answer  
there  
James

On Feb 2, 7:51 pm, Benny S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
