开发者

Rails app unable to save anything after deployment

today I uploaded my app to server, and after seting it into development mode, and running of course rake tasks (rake db: migrate, and rade db: migrate RAILS_ENV="production") and well it just doesn't save anything.

The problem happens when I try to create any new items, it just goest to th开发者_Python百科e listing of models...


Your question is very vague. I believe you're saying the app writes files to the server's hard drive. If that's what you're asking, I think the best guess is that something's wrong with file system permissions. Unfortunately, I can't say what is wrong without more details.


i solved it.

reason i asked was because i absolutely went through each and every one of my potential problems and took care of them, and well in the end none of them were the reason of such a failure. so then i went to the basics

and i basically had to clone my development environment on the production machine.

so i had to downgrade rails a couple of versions, and some gems too.

that took care of it, everything went on smoothly, so if anyone ever encounters such mysterous failures, give this a try.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜