Skip to content

Instantly share code, notes, and snippets.

@sfentress
Created March 28, 2014 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sfentress/9838394 to your computer and use it in GitHub Desktop.
Save sfentress/9838394 to your computer and use it in GitHub Desktop.
$ RAILS_ENV=production bin/rake app:setup:new_app
Unable to load configuration from /Users/sfentress/projects/rigse/config/newrelic.yml
Problem processing key 'host' in config/mailer.yml
undefined method `host=' for ActionMailer::Base:Class
This task will:
1. create default users and roles
[...]
First creating admin user account for: aunger@concord.org from site parameters in config/settings.yml:
login: aunger
email: aunger@concord.org
first_name: Aaron
last_name: Unger
[...]
first_name: Jackie
last_name: Demeter
rake aborted!
undefined method `register!' for #<User:0x007faa237e03e0>
/Users/sfentress/.rvm/gems/ruby-1.9.3-p125@xproject/gems/activemodel-3.2.11/lib/active_model/attribute_methods.rb:407:in `method_missing'
/Users/sfentress/.rvm/gems/ruby-1.9.3-p125@xproject/gems/activerecord-3.2.11/lib/active_record/attribute_methods.rb:149:in `method_missing'
/Users/sfentress/projects/rigse/lib/tasks/default_users_roles_and_portal_resources.rake:215:in `block (4 levels) in <top (required)>'
/Users/sfentress/projects/rigse/lib/tasks/default_users_roles_and_portal_resources.rake:211:in `each'
/Users/sfentress/projects/rigse/lib/tasks/default_users_roles_and_portal_resources.rake:211:in `block (3 levels) in <top (required)>'
/Users/sfentress/projects/rigse/lib/tasks/app.rake:131:in `block (3 levels) in <top (required)>'
Tasks: TOP => app:setup:default_users_roles
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment