Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

error using themed generator #48

Open
bithai opened this Issue · 0 comments

1 participant

@bithai

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:in
reject'
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:in
columns'
from (erb):14:in template'
from /Users/tthai/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/erb.rb:753:in
eval'
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:in
block 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:in
render'
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:in
on_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:in
invoke!'
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:in
create_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:in
block 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: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: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:in
copy_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:in
invoke_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:in
each'
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:in
invoke_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:in
start'
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
'
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:in
block 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:in
new_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:in
require'
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:in
require'
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
Something went wrong with that request. Please try again.