Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 7 lines (6 sloc) 179 Bytes
require 'active_scaffold'
begin
ActiveScaffoldAssets.copy_to_public(ActiveScaffold.root, {:clean_up_destination => true})
rescue
raise $! unless Rails.env == 'production'
end