Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes for camping, and a working RisingCode

  • Loading branch information...
commit 684af7e482c5c7a907426b266441790e1735c4af 1 parent 9940a05
@diclophis authored
Showing with 42 additions and 0 deletions.
  1. +15 −0 config.ru
  2. +9 −0 install.sh
  3. +18 −0 install_gems.sh
View
15 config.ru
@@ -1,2 +1,17 @@
#!/usr/bin/env ruby
+HOME = "/home/ubuntu"
+
+require "cloud_collect"
+require "camping_response_headers_fix"
+require HOME + "/risingcode/risingcode"
+
+map "http://cloudcollect.com/" do
+ use CampingResponseHeadersFix
+ run Rack::Adapter::Camping.new(CloudCollect)
+end
+
+map "http://risingcode.com/" do
+ use CampingResponseHeadersFix
+ run Rack::Adapter::Camping.new(RisingCode)
+end
View
9 install.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+sudo apt-get install build-essential ruby ri rdoc irb ruby-dev mysql-client mysql-server memcached libmysqlclient-dev git-core imagemagick libmagick9-dev libopenssl-ruby1.8
+
+sudo ln -s /usr/bin/gem1.8 /usr/local/bin/gem
+sudo ln -s /usr/bin/ruby1.8 /usr/local/bin/ruby
+sudo ln -s /usr/bin/rdoc1.8 /usr/local/bin/rdoc
+sudo ln -s /usr/bin/ri1.8 /usr/local/bin/ri
+sudo ln -s /usr/bin/irb1.8 /usr/local/bin/irb
View
18 install_gems.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n
+sudo gem install camping
+gem install rack-mount -v 0.4.0
+sudo gem install rake -v 0.8.3
+gem install rails --pre
+gem install rmagick
+gem install RedCloth
+gem install daemons
+gem install ruby2ruby
+gem install uuidtools
+gem install right_aws
+gem install linguistics
+gem install hpricot
+gem install plist
+gem install ruby-openid
+gem install json
Please sign in to comment.
Something went wrong with that request. Please try again.