Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Example classic app has wrong precompile code

  • Loading branch information...
commit 8d4e98a4b6b440caadb6d50ccf0f2b2e93d18580 1 parent a89fe8d
Pete O'Grady authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/classic/Rakefile
4 examples/classic/Rakefile
View
@@ -1,11 +1,11 @@
task :environment do
- Bundler.require(:default, ENV['RACK_ENV'])
+ Bundler.require(:default)
require "#{File.dirname(__FILE__)}/app"
end
namespace :assets do
desc 'Precompile assets'
task :precompile => :environment do
- App.assets.precompile
+ Sinatra::Application.assets.precompile
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.