Created
December 7, 2016 04:23
-
-
Save oranges13/e4fe7d7a5cef230fff92d81e7b75cb85 to your computer and use it in GitHub Desktop.
Padrino Nomethoderror block in named routes when running `padrino rake routes`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/mounter.rb:133:in `block in named_routes': undefined method `name' for #<Array:0x0000000281d5b0> (NoMethodError) | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/mounter.rb:132:in `each' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/mounter.rb:132:in `map' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/mounter.rb:132:in `named_routes' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/cli/rake_tasks.rb:24:in `list_app_routes' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/cli/rake_tasks.rb:54:in `block (2 levels) in <top (required)>' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/cli/rake_tasks.rb:53:in `each' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/cli/rake_tasks.rb:53:in `block in <top (required)>' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/rake-11.3.0/lib/rake/task.rb:248:in `block in execute' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/rake-11.3.0/lib/rake/task.rb:243:in `each' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/rake-11.3.0/lib/rake/task.rb:243:in `execute' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/rake-11.3.0/lib/rake/task.rb:187:in `block in invoke_with_call_chain' | |
from /home/username/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/rake-11.3.0/lib/rake/task.rb:180:in `invoke_with_call_chain' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/rake-11.3.0/lib/rake/task.rb:173:in `invoke' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/rake-11.3.0/lib/rake/application.rb:152:in `invoke_task' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/rake-11.3.0/lib/rake/application.rb:108:in `block (2 levels) in top_level' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/rake-11.3.0/lib/rake/application.rb:108:in `each' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/rake-11.3.0/lib/rake/application.rb:108:in `block in top_level' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/rake-11.3.0/lib/rake/application.rb:117:in `run_with_threads' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/rake-11.3.0/lib/rake/application.rb:102:in `top_level' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/cli/base.rb:23:in `rake' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/thor-0.19.1/lib/thor/command.rb:27:in `run' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/thor-0.19.1/lib/thor/base.rb:440:in `start' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/bin/padrino:8:in `<top (required)>' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/bin/padrino:23:in `load' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/bin/padrino:23:in `<main>' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/bin/ruby_executable_hooks:15:in `eval' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/bin/ruby_executable_hooks:15:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
were you ever able to figure out how to fix this?