문제

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