RailsApps / rails-devise-pundit

Rails 5.0 starter app with Devise for authentication and Pundit for authorization.
http://railsapps.github.io/rails-devise-pundit/
483 stars 156 forks source link

rake assets:precompile - TypeError: no implicit conversion of nil into String #8

Closed daveminor closed 10 years ago

daveminor commented 10 years ago

Just after a fresh generation of rails-devise-pundit, invoking rake assets:precompile on the production environment fails with TypeError: no implicit conversion of nil into String

Here is the output: http://pastebin.com/PdyZ3jFM

I've not been able to find any other reports of this happening. Do you have any ideas?

DanielKehoe commented 10 years ago

Be sure to set the ENV variable for domain_name. Or remove it from config/initializers/devise.rb.

Let me know if that resolves the issue.

daveminor commented 10 years ago

yes! commenting config.mailer_sender in config/initilalizers/devise.rb did the trick.

Thank you!