You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require'sinatra'require'sinatra-initializers'require'sinatra/assetpack'require'sass'registerSinatra::InitializersregisterSinatra::AssetPackuseRack::Auth::Basic,"Restricted Area"do |username,password|
username == ENV["BASIC_AUTH_USERNAME"]andpassword == ENV["BASIC_AUTH_PASSWORD"]end# Allow @import to work correctly by telling sinatra where to look# Without this it tries to do imports relative to *this* fileset:scss,{:load_paths=>[File.expand_path('../assets/stylesheets',__FILE__)]}assetsdoserve'/images',:from=>"assets/images"serve'/js',:from=>'assets/javascripts'js:application,['/js/plugins.js','/js/main.js',]js:jquery,['/js/jquery.min.js']js:modernizr,['/js/modernizr.js']js:selectivizr,['/js/selectivizr.js']serve'/css',:from=>'assets/stylesheets'css:application,['/css/screen.css']js_compression:jsmincss_compression:sassendget'/'doerb:indexend#etc.
The text was updated successfully, but these errors were encountered:
When I run
rake assetpack:build
, it generates files for everything in my assets directory, but they're all totally emptyhere's my rakefile:
And the section from app.rb:
The text was updated successfully, but these errors were encountered: