Open rpuranik opened 11 years ago
Dupe of #44
try to install properly rails generate redactor:install, and don't forget to migrate db on heroku, heroku run rake db:migrate
Nope -- even though I do both, it doesn't seem to work. I'm stuck at using redactor gem 0.3.2 to avoid this issue.
I did both but it doesn't work for me as well
:+1: same issue..
I'm using passenger for production
ception class: NameError
Application root: /home/admin/myappcurrent
Backtrace:
# File Line Location
0 /home/admin/myapp/shared/bundle/ruby/1.9.1/bundler/gems/redactor-rails-1f63124306de/lib/redactor-rails.rb 30 in `document_model'
1 /home/admin/myapp/shared/bundle/ruby/1.9.1/bundler/gems/redactor-rails-1f63124306de/app/controller/redactor_rails/documents_controller.rb 2 in `'
2 /home/admin/myapp/shared/bundle/ruby/1.9.1/bundler/gems/redactor-rails-1f63124306de/app/controller/redactor_rails/documents_controller.rb 1 in `'```
but file redactor rails on directory assets, uploader, and model not missing
happend to me as well
/app/vendor/bundle/ruby/1.9.1/gems/redactor-rails-0.3.3/lib/redactor-rails.rb:30:in `document_model': uninitialized constant RedactorRails::Document (NameError)
Hi, here's the error I'm seeing after pushing my app to Heroku:
I don't see this issue locally. I have tried to force Heroku to use ruby 1.9.3, but it still spits out the error from the bundle in the ruby/1.9.1 directory.