This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*/5 * * * * /usr/local/rvm/bin/rvm-shell 'ruby-1.9.2-p180' -c 'BUNDLE_GEMFILE=$HOME/www/rails_apps/<APP_NAME>/current/Gemfile RAILS_ENV=production bundle exec rake -f $HOME/www/rails_apps/<APP_NAME>/current/Rakefile <TASK_NAME>' > $HOME/www/rails_apps/<APP_NAME>/current/log/<TASK_NAME>_output.log 2>$HOME/www/rails_apps/<APP_NAME>/current/log/<TASK_NAME>_error.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bundler/setup' | |
require 'rack/contrib/try_static' | |
use Rack::TryStatic, :root => "_site", :urls => %w[/], :try => ['.html', 'index.html', '/index.html'] | |
run Proc.new {|env| [404, {"Content-Type" => "text/plain"}, ["File not found"]]} |
I hereby claim:
- I am gerardc on github.
- I am gerardc (https://keybase.io/gerardc) on keybase.
- I have a public key ASArhTvaM8CV874qk5i5No0itmxA9Xb8sJubhi39_cBBXwo
To claim this, I am signing this object: