padrino/padrino-framework — Issue #739: undefined method `dependencies' for <Appname>:Module
Author: lhm
Created: 2011-12-26 13:41:41+00:00
State: open

Hi,

I'm getting an error on a fresh application i just generated. The following error appears when I try to start the application or use a generator. It seems unrelated to the ruby version, I get the same in ruby 1.8.7.

```
lars@mbp-3:~/code/signal$ padrino start
/Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/gems/padrino-core-0.10.5/lib/padrino-core/reloader.rb:223:in `block in rotation': undefined method `dependencies' for Signal:Module (NoMethodError)
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/gems/padrino-core-0.10.5/lib/padrino-core/reloader.rb:223:in `map'
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/gems/padrino-core-0.10.5/lib/padrino-core/reloader.rb:223:in `rotation'
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/gems/padrino-core-0.10.5/lib/padrino-core/reloader.rb:93:in `changed?'
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/gems/padrino-core-0.10.5/lib/padrino-core/loader.rb:72:in `load!'
from /Users/lars/code/signal/config/boot.rb:29:in `'
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/gems/padrino-core-0.10.5/lib/padrino-core/cli/base.rb:23:in `require'
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/gems/padrino-core-0.10.5/lib/padrino-core/cli/base.rb:23:in `start'
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/gems/padrino-core-0.10.5/bin/padrino:9:in `'
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/bin/padrino:19:in `load'
from /Users/lars/.rvm/gems/ruby-1.9.3-p0@signal/bin/padrino:19:in `

'
lars@mbp-3:~/code/signal$ gem -v
1.8.13
lars@mbp-3:~/code/signal$ bundle -v
Bundler version 1.0.21
lars@mbp-3:~/code/signal$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]
lars@mbp-3:~/code/signal$ padrino -v
Padrino v. 0.10.5
```

The application was generated with this command:

padrino g project signal -d ohm -t riot -s jquery -e haml -c sass -m rr