I am trying to deploy my Refinery blog CMS to a staging server.

The app works fine on my development but annoyingly it does not online. I get the following error from passenger:

No such file to load -- /path/to/app/releases/20120217232643/webapp/app/mailers/refinery/blog/comment_mailer

I am totally baffled, being new to Rails, I though it would work out the box. Especially as it works somewhat fine on my development machine.

I would appreciate a pointer or two.

Thanks

M.

有帮助吗?

解决方案

Try running it with Rails 3.0 you can install it with gem install rails -v 3.0. According to the "Getting Started Guide" (see http://refinerycms.com/guides/getting-started-with-refinery) Refinery runs on Rails 3.0.

其他提示

Ok, I have found the answer ... which is in the error itself!

head over to the refinery blog git and locate that missing file: Git Hub Refinery Blog/comment_mailer.rb

Download that to: app/mailers/refinery/blog

And presto, no more issues with passenger (not sure why the error popped up in the first place if the refinery blog has it within their app!?!)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top