error using themed generator #48

Open
bithai opened this Issue Dec 9, 2011 · 0 comments

Comments

Projects
None yet
1 participant

bithai commented Dec 9, 2011

I'm using Rails 3.1.3, MongoMapper, WebAppTheme with Devise. Not sure what the error is referring to. Thanks.

unknownb88d1219d4fc:gp2 tthai$ rails g web_app_theme:themed organizations
/Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/whiny_nil.rb:48:in method_missing': undefined methodname' for nil:NilClass (NoMethodError)
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/web-app-theme-0.8.0/lib/generators/web_app_theme/themed/themed_generator.rb:82:in block in columns' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/web-app-theme-0.8.0/lib/generators/web_app_theme/themed/themed_generator.rb:82:inreject'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/web-app-theme-0.8.0/lib/generators/web_app_theme/themed/themed_generator.rb:82:in rescue in columns' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/web-app-theme-0.8.0/lib/generators/web_app_theme/themed/themed_generator.rb:78:incolumns'
from (erb):14:in template' from /Users/tthai/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/erb.rb:753:ineval'
from /Users/tthai/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/erb.rb:753:in result' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb:111:inblock in template'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:54:in call' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:54:inrender'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:47:in identical?' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:73:inon_conflict_behavior'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/empty_directory.rb:111:in invoke_with_conflict_check' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:61:ininvoke!'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions.rb:95:in action' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:26:increate_file'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb:110:in template' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/web-app-theme-0.8.0/lib/generators/web_app_theme/themed/themed_generator.rb:116:inblock in generate_erb_views'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/web-app-theme-0.8.0/lib/generators/web_app_theme/themed/themed_generator.rb:115:in each' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/web-app-theme-0.8.0/lib/generators/web_app_theme/themed/themed_generator.rb:115:ingenerate_erb_views'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/web-app-theme-0.8.0/lib/generators/web_app_theme/themed/themed_generator.rb:111:in generate_views' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/web-app-theme-0.8.0/lib/generators/web_app_theme/themed/themed_generator.rb:21:incopy_views'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in run' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:ininvoke_task'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in block in invoke_all' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:ineach'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in map' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:ininvoke_all'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/group.rb:226:in dispatch' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:instart'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/generators.rb:168:in invoke' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/commands/generate.rb:12:in<top (required)>'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in require' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:inblock in require'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in block in load_dependency' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:innew_constants_in'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in load_dependency' from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:inrequire'
from /Users/tthai/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/commands.rb:28:in <top (required)>' from script/rails:6:inrequire'
from script/rails:6:in `

'
unknownb88d1219d4fc:gp2 tthai$

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