Problem running webistrano under passenger

88 views
Skip to first unread message

Guy Knights

unread,
Feb 8, 2011, 9:58:20 PM2/8/11
to webis...@googlegroups.com
I needed to move our webistrano install to a new server and decided to try running it under passenger/apache, rather than using the built in server. It took me a couple of hours but I've got it to the point where it's almost all working. The only remaining issue is that while the page loads up fine, it doesn't seem like the stylesheet is working. I looked at the source and it's supposed to have an application.css file, which I believe is generated on request, but I couldn't find it anywhere in the webistrano directory.

Does anyone know how to fix this?

Thanks,
Guy

Jonathan Weiss

unread,
Feb 21, 2011, 6:56:19 AM2/21/11
to webis...@googlegroups.com, Guy Knights

We are running Webistrano ourselves without any problems.

The stylesheet is generated on first request and then (file) cached.
Does passenger has the permissions to write the cached file? Even
without it should at least display it. The stylesheet is generated by
the stylesheets controller.

Jonathan

--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss

Guy

unread,
Feb 24, 2011, 8:10:17 PM2/24/11
to Webistrano
Hi Jonathan,

You'll have to excuse me but I'm not very familiar with passenger.
Where should the stylesheets be written to? My webistrano/public
directory (the apache DocumentRoot) is 777 at the moment and the
stylesheet is still not there.

Thanks,
Guy

On Feb 21, 6:56 am, Jonathan Weiss <j...@innerewut.de> wrote:

Jonathan Weiss

unread,
Feb 25, 2011, 5:08:20 AM2/25/11
to webis...@googlegroups.com, Guy
> You'll have to excuse me but I'm not very familiar with passenger.
> Where should the stylesheets be written to? My webistrano/public
> directory (the apache DocumentRoot) is 777 at the moment and the
> stylesheet is still not there.

Yes, it will be written to public/stylesheets/application.css

Do you see anything in the log? You can increase the log level in
config/environments/production.rb

Guy Knights

unread,
Feb 28, 2011, 2:02:23 PM2/28/11
to Jonathan Weiss, webis...@googlegroups.com
Thanks Jonathan, that was a big help. It turns out the public/stylesheets directory didn't exist for some reason, so I created it, set the correct permissions and now it works fine.

Many thanks!
Guy
Reply all
Reply to author
Forward
0 new messages