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:
I hereby claim:
To claim this, I am signing this object:
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"]]} |
*/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 |