padrino/padrino-framework — Issue #778: [BUG] padrino rake routes
Author: cj
Created: 2012-02-06 17:11:47+00:00
State: open

Seem to be having issues running `padrino rake routes` with the latest version:

```

11:09 ~/dropbox/sd/acd/receptionist (master *4)$ padrino rake routes --trace
=> Executing Rake routes --trace ...
DEPRECATION WARNING: Yajl's JSON gem compatibility API is going to be removed in 2.0
DEBUG - (45.6ms) ALTER TABLE `calls` CHANGE `direction` `direction` ENUM('inbound', 'outbound') DEFAULT NULL
** Invoke routes (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute routes
rake aborted!
can't convert Regexp into String
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/padrino-core-0.10.6.c/lib/padrino-core/mounter.rb:109:in `join'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/padrino-core-0.10.6.c/lib/padrino-core/mounter.rb:109:in `block in named_routes'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/padrino-core-0.10.6.c/lib/padrino-core/mounter.rb:106:in `map'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/padrino-core-0.10.6.c/lib/padrino-core/mounter.rb:106:in `named_routes'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/padrino-core-0.10.6.c/lib/padrino-core/cli/rake_tasks.rb:21:in `list_app_routes'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/padrino-core-0.10.6.c/lib/padrino-core/cli/rake_tasks.rb:38:in `block (2 levels) in '
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/padrino-core-0.10.6.c/lib/padrino-core/cli/rake_tasks.rb:37:in `each'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/padrino-core-0.10.6.c/lib/padrino-core/cli/rake_tasks.rb:37:in `block in '
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/cj/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/padrino-core-0.10.6.c/lib/padrino-core/cli/rake.rb:14:in `init'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/padrino-core-0.10.6.c/lib/padrino-core/cli/base.rb:55:in `rake'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/padrino-core-0.10.6.c/bin/padrino:9:in `'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/bin/padrino:19:in `load'
/Users/cj/.rvm/gems/ruby-1.9.3-p0@global/bin/padrino:19:in `

'
Tasks: TOP => routes
```