Sha256: e9b57c41507a6f6827ba9bccdc92fc26f969bbc28e7462b1f7f092ba2aa55223
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
namespace :sandbox_assets do desc "Run Sandboxed Assets server" task :serve => :environment do app = SandboxAssets::Engine port = app.config.sandbox_assets.port app.routes.define_mounted_helper 'sandbox_assets_engine' puts "Your assets will be soon available at http://localhost:#{port}\n\n" Rack::Server.start app: app, Port: port end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails-sandbox-assets-0.1.1 | lib/tasks/sandbox_assets.rake |