Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

[BUG] padrino rake routes #778

Closed
cj opened this Issue Feb 6, 2012 · 4 comments

Comments

Projects
None yet
5 participants

cj commented Feb 6, 2012

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 <top (required)>'
/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 <top (required)>'
/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 `<top (required)>'
/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 `<main>'
Tasks: TOP => routes
Owner

nesquena commented Feb 6, 2012

Thanks for the report

Owner

DAddYE commented Feb 16, 2012

dup of #672 ?

Member

dariocravero commented Dec 30, 2012

Closing this because #934 fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment