Bundler.require

require 'sinatra/asset_pipeline'

class App < Sinatra::Base
  set :assets_precompile, %w(app.js app.css *.png *.jpg *.svg *.eot *.ttf *.woff *.ogg *.mp3 *.json *.xml)
  set :assets_host, 'files.bryanbibat.net'
  set :assets_css_compressor, :sass
  set :assets_js_compressor, :uglifier

  Sprockets::Helpers.prefix = "/gunner/assets"
  register Sinatra::AssetPipeline

  get '/' do
    @cocoon = false
    haml :index
  end

  get '/cocoon' do
    @cocoon = true
    haml :index
  end
end

Bundler.require

require 'sinatra/asset_pipeline'

class App < Sinatra::Base
  set :assets_precompile, %w(app.js app.css *.png *.jpg *.svg *.eot *.ttf *.woff *.ogg *.mp3 *.json *.xml)
  set :assets_host, 'datenshizero.github.io'
  set :assets_css_compressor, :sass
  set :assets_js_compressor, :uglifier

  Sprockets::Helpers.prefix = "/gunner/assets"
  register Sinatra::AssetPipeline

  get '/' do
    @cocoon = false
    haml :index
  end

  get '/cocoon' do
    @cocoon = true
    haml :index
  end
end

Move back to GH Pages
Move back to GH Pages
