I hereby claim:
- I am robwu on github.
- I am vivrob (https://keybase.io/vivrob) on keybase.
- I have a public key ASCpTu5JLDg28i4lNVhkKFyYWAb7LGPmnCCl6l_A9RNk6go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class AppRunningMode | |
class << self | |
def resque_worker? | |
( ARGV & ["resque:work", "resque:worker"]).any? | |
end | |
def assets? | |
( ARGV & ["assets:precompile", "rake assets:environment"]).any? || (server? && !Rails.env.production?) |
# http://excid3.com/blog/setting-up-ubuntu-12-04-with-ruby-1-9-3-nginx-passenger-and-postgresql-or-mysql/ | |
# Update and install our dependencies | |
# This downloads the latest list of available software versions. We’ll install our build dependencies for later. | |
sudo apt-get -y update | |
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-dev libyaml-dev libcurl4-openssl-dev curl git-core python-software-properties | |
# Install Ruby 1.9.3 | |
# We’re going to install Ruby 1.9.3 from source. Note that -p194 may not be the latest version of Ruby. Check out ruby-lang.org to get the latest version and replace it in the following commands: |