Hi all: Here''s a pre-release for mongrel_cluster to support current Mongrel 0.3.13.4 pre-release. Changes: - ''mongrel_rails cluster::restart'' now calls ''mongrel_rails stop'' and ''mongrel_rails start''. ''cluster::restart'' now accepts the ''force'' argument instead of ''soft''. - Added ''.conf'' as a valid file extension for mongrel_cluster_ctl. - Added check for missing script and directory to the init.d script. (Neil Wilson) - Added rc script for FreeBSD in resources/mongrel_cluster.sh (Andrew Bennett) - Added support for --prefix including Capistrano tasks (Nat Brown) Thanks for the contributions from Andrew Bennett, Nat Brown, and Neil Wilson. To install: sudo gem install mongrel --source=http://mongrel.rubyforge.org/releases/ sudo gem install mongrel_cluster --source http:// railsmachine.rubyforge.org/releases/ Please submit bugs, patches, and requests to the RubyForge tracker: http://rubyforge.org/tracker/?group_id=1336 Let me know how it goes. Thanks, Bradley Taylor ------ Rails Optimized Hosting ~ VPS and Dedicated Servers Simplified Deployment ~ Services and Software http://railsmachine.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060814/80b70a3e/attachment.html
I''m not sure if this is a bug, or a working as intended, but when I configure my application to server images/js/css from an external server like this: # Enable serving of images, stylesheets, and javascripts from an asset server config.action_controller.asset_host = "http://dev.website.com" The files as created by the rails commands: <%= stylesheet_link_tag ''main'', ''mozilla-pc'' %> <%= javascript_include_tag :defaults %> are then sent to the browser as: <link href="http://dev.website.com/app/stylesheets/main.css?1155219525" media="screen" rel="Stylesheet" type="text/css" /> <link href="http://dev.website.com/app/stylesheets/mozilla-pc.css?1150734027" media="screen" rel="Stylesheet" type="text/css" /> <script src="http://dev.website.com/app/javascripts/prototype.js?1153940015" type="text/javascript"></script> with the extra /app thrown in there. I would hope that if I''m using an external server, there is a way to disable having the prefix thrown into the urls. Otherwise so far it''s working as expected for me. Thanks.
On Mon, 2006-08-14 at 11:21 -0500, Joey Geiger wrote:> I''m not sure if this is a bug, or a working as intended, but when I > configure my application to server images/js/css from an external > server like this:> with the extra /app thrown in there. I would hope that if I''m using an > external server, there is a way to disable having the prefix thrown > into the urls. Otherwise so far it''s working as expected for me.That''s a Rails thing, not a Mongrel thing. Basically you said mount at /app, so that''s what it''s doing. Most likely it goes through generating URLs such that /app is always included. I''d suggest just changing your asset host so you can stay on the rails. :-) -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support?