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
/home/michaelguterl/.rip/active/lib/haml/version.rb:30:in `read': No such file or directory - /home/michaelguterl/.rip/active/lib/haml/../../VERSION (Errno::ENOENT) | |
from /home/michaelguterl/.rip/active/lib/haml/version.rb:30:in `version' | |
from /home/michaelguterl/.rip/active/lib/haml.rb:20 | |
from ./lib/integrity.rb:9:in `require' | |
from ./lib/integrity.rb:9 | |
from ./init.rb:2:in `require' | |
from ./init.rb:2 | |
from config.ru:1:in `require' | |
from config.ru:1 | |
from /home/michaelguterl/.rip/active/lib/rack/builder.rb:29:in `instance_eval' |
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
Either the vistor clicked on the 'Stop' button in the web browser, or the visitor's connection has stalled and couldn't receive the data that Apache is sending to it. As a result, you will probably see a 'Broken Pipe' error in this log file. Please ignore it, this is normal. You might also want to increase Apache's TimeOut configuration option if you experience this problem often. | |
*** Exception Errno::EPIPE in Passenger RequestHandler (Broken pipe) (process 4732): | |
from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/rack/request_handler.rb:112:in `write' | |
from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/rack/request_handler.rb:112:in `process_request' | |
from /home/deploy/public_html/rm/releases/20091113154410/vendor/rails/actionpack/lib/action_controller/response.rb:155:in `each_line' | |
from /home/deploy/public_html/rm/releases/20091113154410/vendor/rails/actionpack/lib/action_controller/response.rb:155:in `ea |
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
#!/bin/sh | |
set -u | |
set -e | |
# Example init script, this can be used with nginx, too, | |
# since nginx and unicorn accept the same signals | |
# Feel free to change any of the following variables for your app: | |
APP_ROOT=/home/deploy/public_html/rm/current | |
PID=$APP_ROOT/tmp/pids/unicorn.pid | |
ENV=production |
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
#!/bin/sh | |
set -u | |
set -e | |
# Example init script, this can be used with nginx, too, | |
# since nginx and unicorn accept the same signals | |
# Feel free to change any of the following variables for your app: | |
APP_ROOT=/home/deploy/public_html/rm/current | |
PID=$APP_ROOT/tmp/pids/unicorn.pid | |
ENV=production |
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
# unicorn_rails -c /home/deploy/public_html/rm/current/config/unicorn.rb -E production -D | |
working_directory = '/home/deploy/public_html/rm/current' | |
rails_env = ENV['RAILS_ENV'] || 'production' | |
worker_processes 4 | |
# Load rails into the master before forking workers | |
# for super-fast worker spawn times | |
preload_app true |
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
# this goes in /etc/sv/rm-dj-1/run | |
#!/bin/sh | |
set -e | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
APP_ROOT=/home/deploy/public_html/rm/current | |
cd $APP_ROOT | |
exec 2>&1 | |
exec chpst -u deploy:deploy -e /etc/service/rm-dj-1/env rake jobs:work |
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
#!/bin/bash | |
echo "Setting up chef..." | |
sudo apt-get -y update | |
sudo apt-get -y install ruby ruby1.8-dev libopenssl-ruby1.8 rdoc ri irb build-essential wget ssl-cert | |
cd /tmp | |
wget http://rubyforge.org/frs/download.php/57643/rubygems-1.3.4.tgz | |
tar zxf rubygems-1.3.4.tgz |
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
RAILS_ROOT = "/home/deploy/public_html/rm/current" | |
5.times do |num| | |
God.watch do |w| | |
w.name = "dj-#{num}" | |
w.group = 'dj' | |
w.interval = 30.seconds | |
if num == 0 | |
command = "rake RAILS_ENV=production MIN_PRIORITY=0 -f #{RAILS_ROOT}/Rakefile jobs:work" | |
else |
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
[GEM_ROOT]/gems/haml-2.2.17/lib/sass/files.rb:103:in `readline' | |
[GEM_ROOT]/gems/haml-2.2.17/lib/sass/files.rb:103:in `try_to_read_sassc' | |
[GEM_ROOT]/gems/haml-2.2.17/lib/sass/files.rb:102:in `open' | |
[GEM_ROOT]/gems/haml-2.2.17/lib/sass/files.rb:102:in `try_to_read_sassc' |
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
class Location | |
include Mongoid::Document | |
field :location | |
field :country | |
field :state | |
field :city | |
field :zip_code | |
field :lat, :type => Float | |
field :lng, :type => Float |