On Thursday, March 7, 2013 12:45:05 PM UTC+1, Colin Law wrote: > On 7 March 2013 10:49, ngw <[email protected] <javascript:>> wrote: > > On Thursday, March 7, 2013 11:45:22 AM UTC+1, ngw wrote: > >> > >> CUT > > > > > > Sorry for the formatting > > > > config.action_controller.asset_host = Proc.new { |source, request=nil| > > Why have you got request=nil in the line above?
Because if not I get $ RAILS_ENV=staging bundle exec rake assets:precompile rake aborted! This asset host cannot be computed without a request in scope. Remove the second argument to your asset_host Proc if you do not need the request. Seems a bug in Rails to me honestly... ngw -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Zg2ooMZSg3IJ. For more options, visit https://groups.google.com/groups/opt_out.

