Skip to content

Instantly share code, notes, and snippets.

@jess
Created October 22, 2013 11:02
Show Gist options
  • Save jess/7098683 to your computer and use it in GitHub Desktop.
Save jess/7098683 to your computer and use it in GitHub Desktop.
jessmbp.local ruby 2.0.0p247 ~/projects/blog $ rails generate postmarkdown:post test-post --date=2011-01-01
/Users/jess/.gem/ruby/2.0.0/bundler/gems/postmarkdown-98612d393767/app/models/post.rb:4:in `<class:Post>': uninitialized constant Post::ActiveModel (NameError)
from /Users/jess/.gem/ruby/2.0.0/bundler/gems/postmarkdown-98612d393767/app/models/post.rb:3:in `<top (required)>'
from /Users/jess/.gem/ruby/2.0.0/bundler/gems/postmarkdown-98612d393767/lib/generators/postmarkdown/post_generator.rb:9:in `check_slug'
from /Users/jess/.gem/ruby/2.0.0/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
from /Users/jess/.gem/ruby/2.0.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
from /Users/jess/.gem/ruby/2.0.0/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `block in invoke_all'
from /Users/jess/.gem/ruby/2.0.0/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `each'
from /Users/jess/.gem/ruby/2.0.0/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `map'
from /Users/jess/.gem/ruby/2.0.0/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `invoke_all'
from /Users/jess/.gem/ruby/2.0.0/gems/thor-0.18.1/lib/thor/group.rb:233:in `dispatch'
from /Users/jess/.gem/ruby/2.0.0/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
from /Users/jess/.gem/ruby/2.0.0/gems/railties-4.0.1.rc2/lib/rails/generators.rb:156:in `invoke'
from /Users/jess/.gem/ruby/2.0.0/gems/railties-4.0.1.rc2/lib/rails/commands/generate.rb:11:in `<top (required)>'
from /Users/jess/.gem/ruby/2.0.0/gems/railties-4.0.1.rc2/lib/rails/commands.rb:48:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment