Skip to content

Instantly share code, notes, and snippets.

View gmontard's full-sized avatar

Guillaume Montard gmontard

View GitHub Profile
/opt/boxen/rbenv/versions/ree-1.8.7-2012.02/lib/ruby/gems/1.8/gems/activesupport-3.1.4/lib/active_support/dependencies.rb:234:in `load': super: no superclass method `load' for main:Object (NoMethodError)
from /opt/boxen/rbenv/versions/ree-1.8.7-2012.02/lib/ruby/gems/1.8/gems/activesupport-3.1.4/lib/active_support/dependencies.rb:223:in `load_dependency'
from /opt/boxen/rbenv/versions/ree-1.8.7-2012.02/lib/ruby/gems/1.8/gems/activesupport-3.1.4/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /opt/boxen/rbenv/versions/ree-1.8.7-2012.02/lib/ruby/gems/1.8/gems/activesupport-3.1.4/lib/active_support/dependencies.rb:223:in `load_dependency'
from /opt/boxen/rbenv/versions/ree-1.8.7-2012.02/lib/ruby/gems/1.8/gems/activesupport-3.1.4/lib/active_support/dependencies.rb:234:in `load'
from /opt/boxen/rbenv/versions/ree-1.8.7-2012.02/lib/ruby/gems/1.8/gems/activesupport-3.1.4/lib/active_support/dependencies.rb:232:in `to_proc'
from /opt/boxen/rbenv/versions/ree-1.8.7-2012.02/lib/ruby/gems/1.8/gems
@gmontard
gmontard / override_assetfile_cache.rb
Created April 20, 2012 13:18
Sync asset cached file to Windows Azure using waz-sync gem
#####
## Add this line to your environment.rb file
# require 'lib/override_assetfile_cache.rb'
####
module ActionView
module Helpers
module AssetTagHelper
def write_asset_file_contents(joined_asset_path, asset_paths)
#
# Mac OS X / Mac OS X Server
# The <IfDefine> blocks segregate server-specific directives
# and also directives that only apply when Web Sharing or
# server Web Service (as opposed to other services that need Apache) is on.
# The launchd plist sets appropriate Define parameters.
# Generally, desktop has no vhosts and server does; server has added modules,
# custom virtual hosts are only activated when Web Service is on, and
# default document root and personal web sites at ~username are only
# activated when Web Sharing is on.