So everything was running fine with my app on heroku. I installed the devise and tiny_mce gem and set them up, everything was working great locally. I pushed the new stuff up to git, pushed it over to heroku and everything was golden.
I created a “term” model and controller with associated views. This is going to support some custom “definitions” on some words I plan to use from time to time in blog posts. After realizing my ‘destroy’ action wasn’t working I was going to test it on my live heroku site and I went to login (using devise) on heroku and got an error, I realized that I forgot to ‘heroku rake db:migrate”
So I tried to run that command so I could test everything out and I was surprised to get:
heroku rake db:migrate
rake aborted!
Permission denied - /app/e292cf06-5d87-46cf-8035-752874301831/home/config/tiny_mce.yml
So i’ve removed this tiny_mce.yml file (i’m doing the tiny_mce config in my posts controller). I pushed to git and made sure the file was out of my git repo as well, and then pushed over to heroku and tried to run rake db:migrate again on heroku but everything is failing the same exact way. I am not sure what to try.
Something in your app – presumable the
tiny_mcegem – is trying to write that file to disk. To see where it’s coming from, useheroku rake db:migrate --trace. You can then inspect the code – or modify it if necessary – to see the behavior.Your best bet may be to leave that file in place with “fake” configuration in it, even if you are not using it.