View s3.sh
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
# This is how I upload my new Sol Trader builds (http://soltrader.net) | |
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
S3KEY="my aws key" | |
S3SECRET="my aws secret" # pass these in | |
function putS3 | |
{ | |
path=$1 |
View elastix-cd.repo
[elastix-cd] | |
name=Elastix RPM Repo CD | |
baseurl=file:///mnt/iso/ | |
gpgcheck=0 | |
enabled=1 |
View rails.rb.patch
--- rails.rb 2009-07-12 10:39:41.000000000 +0000 | |
+++ rails.rb.new 2009-07-12 10:40:48.000000000 +0000 | |
@@ -22,7 +22,7 @@ | |
load_application | |
- @rails_app = if ActionController::Dispatcher.instance_methods.include?(:call) | |
+ @rails_app = if (ActionController.const_defined?(:Dispatcher) && ActionController::Dispatcher.instance_methods.include?(:call)) | |
ActionController::Dispatcher.new | |
else |