Created
July 6, 2011 17:26
-
-
Save whartonn/1067808 to your computer and use it in GitHub Desktop.
I'm using Capistrano and deploying to Ubuntu (lucid)(10.04.2) in EC2 with phusion passenger 3.0.7 / nginx / Rails 3.0.9
This file contains 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
source 'http://rubygems.org' | |
gem 'rails', '3.0.9' | |
# rake 0.9.0 is broken (should work with rails 3.0.8) | |
gem 'rake', '~> 0.8.7' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'sqlite3-ruby', :require => 'sqlite3' | |
group :staging, :production do | |
# use postgresql remotely | |
gem 'pg' | |
end | |
group :development do | |
# access rspec generators | |
# gem 'rspec-rails' | |
end | |
group :test do | |
# gem 'rspec' | |
gem 'webrat' | |
end | |
group :development, :test do | |
# gem 'autotest' | |
# gem 'autotest-rails-pure' | |
# mac-only | |
# gem 'autotest-fsevent' | |
# gem 'autotest-growl' | |
end | |
# Use unicorn as the web server | |
# gem 'unicorn' | |
# Deploy with Capistrano | |
gem 'capistrano' | |
# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+) | |
# gem 'ruby-debug' | |
# gem 'ruby-debug19', :require => 'ruby-debug' | |
# Bundle the extra gems: | |
# gem 'bj' | |
# gem 'nokogiri' | |
# gem 'sqlite3-ruby', :require => 'sqlite3' | |
# gem 'aws-s3', :require => 'aws/s3' | |
# gem 'rvm' | |
gem 'devise', '1.3.4' | |
gem 'devise_invitable' | |
gem "oa-oauth", :require => "omniauth/oauth" | |
gem 'omniauth' | |
gem 'jquery-rails' | |
gem 'uuidtools' | |
gem 'grackle' | |
gem 'fb_graph' | |
gem 'factory_girl' | |
gem 'attr_encrypted' | |
gem 'will_paginate', '~> 3.0.pre2' | |
# queue strategies | |
gem 'delayed_job' | |
gem 'resque' | |
gem 'redis' | |
# gem 'client_side_validations' | |
# images | |
gem "paperclip", "~> 2.3" | |
# sensors | |
# gem "nikeplus-ruby", :git => 'https://github.com/bob-p/nikeplus-ruby.git' | |
gem "fitbit" | |
# better IRB experience | |
gem 'wirble' | |
gem 'awesome_print' | |
gem 'httparty' | |
gem 'mush' | |
# Bundle gems for the local environment. Make sure to | |
# put test-only gems in this group so their generators | |
# and rake tasks are available in development mode: | |
# group :development, :test do | |
# gem 'webrat' | |
# end | |
gem 'rubber', :git => "https://github.com/wr0ngway/rubber.git" |
This file contains 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
GIT | |
remote: https://github.com/wr0ngway/rubber.git | |
revision: baf722f7879f056cbbc4ab0b2a54f7cd2535255b | |
specs: | |
rubber (1.14.1) | |
amazon-ec2 (>= 0.9.17) | |
aws-s3 | |
capistrano (>= 2.4.0) | |
nettica | |
GEM | |
remote: http://rubygems.org/ | |
specs: | |
abstract (1.0.0) | |
actionmailer (3.0.9) | |
actionpack (= 3.0.9) | |
mail (~> 2.2.19) | |
actionpack (3.0.9) | |
activemodel (= 3.0.9) | |
activesupport (= 3.0.9) | |
builder (~> 2.1.2) | |
erubis (~> 2.6.6) | |
i18n (~> 0.5.0) | |
rack (~> 1.2.1) | |
rack-mount (~> 0.6.14) | |
rack-test (~> 0.5.7) | |
tzinfo (~> 0.3.23) | |
activemodel (3.0.9) | |
activesupport (= 3.0.9) | |
builder (~> 2.1.2) | |
i18n (~> 0.5.0) | |
activerecord (3.0.9) | |
activemodel (= 3.0.9) | |
activesupport (= 3.0.9) | |
arel (~> 2.0.10) | |
tzinfo (~> 0.3.23) | |
activeresource (3.0.9) | |
activemodel (= 3.0.9) | |
activesupport (= 3.0.9) | |
activesupport (3.0.9) | |
addressable (2.2.6) | |
amazon-ec2 (0.9.17) | |
xml-simple (>= 1.0.12) | |
arel (2.0.10) | |
attr_encrypted (1.2.0) | |
encryptor (>= 1.1.1) | |
attr_required (0.0.3) | |
awesome_print (0.4.0) | |
aws-s3 (0.6.2) | |
builder | |
mime-types | |
xml-simple | |
bcrypt-ruby (2.1.4) | |
builder (2.1.2) | |
capistrano (2.6.0) | |
highline | |
net-scp (>= 1.0.0) | |
net-sftp (>= 2.0.0) | |
net-ssh (>= 2.0.14) | |
net-ssh-gateway (>= 1.1.0) | |
cocaine (0.1.0) | |
crack (0.1.8) | |
daemons (1.1.4) | |
delayed_job (2.1.4) | |
activesupport (~> 3.0) | |
daemons | |
devise (1.3.4) | |
bcrypt-ruby (~> 2.1.2) | |
orm_adapter (~> 0.0.3) | |
warden (~> 1.0.3) | |
devise_invitable (0.5.1) | |
devise (>= 1.3.1, < 1.5) | |
rails (>= 3.0.0, < 3.2) | |
encryptor (1.1.3) | |
erubis (2.6.6) | |
abstract (>= 1.0.0) | |
factory_girl (1.3.3) | |
faraday (0.6.1) | |
addressable (~> 2.2.4) | |
multipart-post (~> 1.1.0) | |
rack (>= 1.1.0, < 2) | |
fb_graph (1.9.1) | |
httpclient (>= 2.2.0.2) | |
rack-oauth2 (>= 0.8.0) | |
fitbit (0.2.0) | |
oauth | |
grackle (0.1.10) | |
json | |
mime-types | |
oauth | |
highline (1.6.2) | |
httparty (0.6.1) | |
crack (= 0.1.8) | |
httpclient (2.2.1) | |
i18n (0.5.0) | |
jquery-rails (1.0.12) | |
railties (~> 3.0) | |
thor (~> 0.14) | |
json (1.5.3) | |
mail (2.2.19) | |
activesupport (>= 2.3.6) | |
i18n (>= 0.4.0) | |
mime-types (~> 1.16) | |
treetop (~> 1.4.8) | |
mime-types (1.16) | |
multi_json (0.0.5) | |
multipart-post (1.1.2) | |
mumboe-soap4r (1.5.8.3) | |
httpclient (>= 2.1.1) | |
mush (0.2.1) | |
httparty (= 0.6.1) | |
httparty (>= 0.6.1) | |
net-ldap (0.1.1) | |
net-scp (1.0.4) | |
net-ssh (>= 1.99.1) | |
net-sftp (2.0.5) | |
net-ssh (>= 2.0.9) | |
net-ssh (2.1.4) | |
net-ssh-gateway (1.1.0) | |
net-ssh (>= 1.99.1) | |
nettica (0.4.0) | |
mumboe-soap4r | |
nokogiri (1.4.6) | |
oa-basic (0.2.3) | |
multi_json (~> 0.0.2) | |
nokogiri (~> 1.4.2) | |
oa-core (= 0.2.3) | |
rest-client (~> 1.6.0) | |
oa-core (0.2.3) | |
rack (~> 1.1) | |
oa-enterprise (0.2.3) | |
net-ldap (~> 0.1.1) | |
nokogiri (~> 1.4.2) | |
oa-core (= 0.2.3) | |
pyu-ruby-sasl (~> 0.0.3.1) | |
rubyntlm (~> 0.1.1) | |
oa-more (0.2.3) | |
multi_json (~> 0.0.2) | |
oa-core (= 0.2.3) | |
rest-client (~> 1.6.0) | |
oa-oauth (0.2.3) | |
faraday (~> 0.6.1) | |
multi_json (>= 0.0.5) | |
nokogiri (~> 1.4.2) | |
oa-core (= 0.2.3) | |
oauth (~> 0.4.0) | |
oauth2 (~> 0.3.0) | |
oa-openid (0.2.3) | |
oa-core (= 0.2.3) | |
rack-openid (~> 1.2.0) | |
ruby-openid-apps-discovery | |
oauth (0.4.5) | |
oauth2 (0.3.0) | |
faraday (~> 0.6.0) | |
multi_json (~> 0.0.4) | |
omniauth (0.2.3) | |
oa-basic (= 0.2.3) | |
oa-core (= 0.2.3) | |
oa-enterprise (= 0.2.3) | |
oa-more (= 0.2.3) | |
oa-oauth (= 0.2.3) | |
oa-openid (= 0.2.3) | |
orm_adapter (0.0.5) | |
paperclip (2.3.12) | |
activerecord (>= 2.3.0) | |
activesupport (>= 2.3.2) | |
cocaine (>= 0.0.2) | |
pg (0.11.0) | |
polyglot (0.3.1) | |
pyu-ruby-sasl (0.0.3.3) | |
rack (1.2.3) | |
rack-mount (0.6.14) | |
rack (>= 1.0.0) | |
rack-oauth2 (0.8.3) | |
activesupport (>= 2.3) | |
attr_required (>= 0.0.3) | |
httpclient (>= 2.2.0.2) | |
i18n | |
json (>= 1.4.3) | |
rack (>= 1.1) | |
rack-openid (1.2.0) | |
rack (>= 1.1.0) | |
ruby-openid (>= 2.1.8) | |
rack-test (0.5.7) | |
rack (>= 1.0) | |
rails (3.0.9) | |
actionmailer (= 3.0.9) | |
actionpack (= 3.0.9) | |
activerecord (= 3.0.9) | |
activeresource (= 3.0.9) | |
activesupport (= 3.0.9) | |
bundler (~> 1.0) | |
railties (= 3.0.9) | |
railties (3.0.9) | |
actionpack (= 3.0.9) | |
activesupport (= 3.0.9) | |
rake (>= 0.8.7) | |
rdoc (~> 3.4) | |
thor (~> 0.14.4) | |
rake (0.8.7) | |
rdoc (3.8) | |
redis (2.2.1) | |
redis-namespace (1.0.3) | |
redis (< 3.0.0) | |
resque (1.17.1) | |
json (>= 1.4.6, < 1.6) | |
redis-namespace (~> 1.0.2) | |
sinatra (>= 0.9.2) | |
vegas (~> 0.1.2) | |
rest-client (1.6.3) | |
mime-types (>= 1.16) | |
ruby-openid (2.1.8) | |
ruby-openid-apps-discovery (1.2.0) | |
ruby-openid (>= 2.1.7) | |
rubyntlm (0.1.1) | |
sinatra (1.2.6) | |
rack (~> 1.1) | |
tilt (>= 1.2.2, < 2.0) | |
sqlite3 (1.3.3) | |
sqlite3-ruby (1.3.3) | |
sqlite3 (>= 1.3.3) | |
thor (0.14.6) | |
tilt (1.3.2) | |
treetop (1.4.9) | |
polyglot (>= 0.3.1) | |
tzinfo (0.3.29) | |
uuidtools (2.1.2) | |
vegas (0.1.8) | |
rack (>= 1.0.0) | |
warden (1.0.4) | |
rack (>= 1.0) | |
webrat (0.7.3) | |
nokogiri (>= 1.2.0) | |
rack (>= 1.0) | |
rack-test (>= 0.5.3) | |
will_paginate (3.0.pre2) | |
wirble (0.1.3) | |
xml-simple (1.1.0) | |
PLATFORMS | |
ruby | |
DEPENDENCIES | |
attr_encrypted | |
awesome_print | |
capistrano | |
delayed_job | |
devise (= 1.3.4) | |
devise_invitable | |
factory_girl | |
fb_graph | |
fitbit | |
grackle | |
httparty | |
jquery-rails | |
mush | |
oa-oauth | |
omniauth | |
paperclip (~> 2.3) | |
pg | |
rails (= 3.0.9) | |
rake (~> 0.8.7) | |
redis | |
resque | |
rubber! | |
sqlite3-ruby | |
uuidtools | |
webrat | |
will_paginate (~> 3.0.pre2) | |
wirble |
This file contains 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
*** Exception Gem::LoadError in PhusionPassenger::Rack::ApplicationSpawner (You have already activated rack 1.3.0, but your Gemfile requires rack 1.2.3. Consider using bundle exec.) (process 22937, thread #<Thread:0x8421fc8>): | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.15/lib/bundler/runtime.rb:31:in `block in setup' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `block in each' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `each' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `each' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.15/lib/bundler/runtime.rb:17:in `setup' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.15/lib/bundler.rb:107:in `setup' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.15/lib/bundler/setup.rb:17:in `<top (required)>' | |
from <internal:lib/rubygems/custom_require>:33:in `require' | |
from <internal:lib/rubygems/custom_require>:33:in `rescue in require' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from /mnt/fat-production/releases/20110706060659/config/boot.rb:6:in `<top (required)>' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from /mnt/fat-production/releases/20110706060659/config/application.rb:1:in `<top (required)>' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from /mnt/fat-production/releases/20110706060659/config/environment.rb:2:in `<top (required)>' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from config.ru:3:in `block in <main>' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rack-1.3.0/lib/rack/builder.rb:51:in `instance_eval' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rack-1.3.0/lib/rack/builder.rb:51:in `initialize' | |
from config.ru:1:in `new' | |
from config.ru:1:in `<main>' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/rack/application_spawner.rb:222:in `eval' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/rack/application_spawner.rb:222:in `load_rack_app' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/rack/application_spawner.rb:156:in `block in initialize_server' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/utils.rb:572:in `report_app_init_status' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/rack/application_spawner.rb:153:in `initialize_server' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:204:in `start_synchronously' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:180:in `start' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/rack/application_spawner.rb:128:in `start' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize' | |
from <internal:prelude>:10:in `synchronize' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' | |
from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/helper-scripts/passenger-spawn-server:99:in `<main>' |
This file contains 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
$rvm gemset list_all | |
gemsets for ruby-1.9.2-p180 (found in /usr/local/rvm/gems/ruby-1.9.2-p180) | |
global | |
$ gem list | |
*** LOCAL GEMS *** | |
amazon-ec2 (0.9.17) | |
aws-s3 (0.6.2) | |
builder (3.0.0) | |
bundler (1.0.15) | |
capistrano (2.6.0) | |
daemon_controller (0.2.6) | |
fastthread (1.0.7) | |
highline (1.6.2) | |
httpclient (2.2.1) | |
memcache-client (1.8.5) | |
mime-types (1.16) | |
mumboe-soap4r (1.5.8.3) | |
net-scp (1.0.4) | |
net-sftp (2.0.5) | |
net-ssh (2.1.4) | |
net-ssh-gateway (1.1.0) | |
nettica (0.4.0) | |
open4 (1.1.0) | |
passenger (3.0.7) | |
pg (0.11.0) | |
rack (1.3.0) | |
rake (0.8.7) | |
rubber (1.14.1) | |
xml-simple (1.1.0) |
This file contains 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
ruby-1.9.2-p180: | |
system: | |
uname: "Linux web01.foo.com 2.6.32-312-ec2 #24-Ubuntu SMP Fri Jan 7 18:31:34 UTC 2011 i686 GNU/Linux" | |
bash: "/bin/bash => GNU bash, version 4.1.5(1)-release (i486-pc-linux-gnu)" | |
zsh: " => not installed" | |
rvm: | |
version: "rvm 1.6.18 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]" | |
ruby: | |
interpreter: "ruby" | |
version: "1.9.2p180" | |
date: "2011-02-18" | |
platform: "i686-linux" | |
patchlevel: "2011-02-18 revision 30909" | |
full_version: "ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]" | |
homes: | |
gem: "/usr/local/rvm/gems/ruby-1.9.2-p180" | |
ruby: "/usr/local/rvm/rubies/ruby-1.9.2-p180" | |
binaries: | |
ruby: "/usr/local/rvm/rubies/ruby-1.9.2-p180/bin/ruby" | |
irb: "/usr/local/rvm/rubies/ruby-1.9.2-p180/bin/irb" | |
gem: "/usr/local/rvm/rubies/ruby-1.9.2-p180/bin/gem" | |
rake: "/usr/local/rvm/gems/ruby-1.9.2-p180/bin/rake" | |
environment: | |
PATH: "/usr/local/rvm/gems/ruby-1.9.2-p180/bin:/usr/local/rvm/gems/ruby-1.9.2-p180@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p180/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" | |
GEM_HOME: "/usr/local/rvm/gems/ruby-1.9.2-p180" | |
GEM_PATH: "/usr/local/rvm/gems/ruby-1.9.2-p180:/usr/local/rvm/gems/ruby-1.9.2-p180@global" | |
MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-1.9.2-p180" | |
IRBRC: "/usr/local/rvm/rubies/ruby-1.9.2-p180/.irbrc" | |
RUBYOPT: "rubygems" | |
gemset: "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment