Permalink
Browse files

Fix running on production

  • Loading branch information...
1 parent 77d4828 commit 754fc71fa833c0462860604c64a98c8e489bfe76 @jamesu committed Jan 22, 2013
Showing with 11 additions and 8 deletions.
  1. +3 −2 Gemfile
  2. +4 −2 Gemfile.lock
  3. +1 −1 Procfile
  4. +2 −2 Procfile.multi.development
  5. +1 −1 Procfile.single.development
View
@@ -1,4 +1,5 @@
source :rubygems
+gem 'rake'
gem 'haml'
gem 'sinatra', :require => false
gem 'sqlite3'
@@ -8,7 +9,7 @@ gem 'json'
gem 'eventmachine'
gem 'em-http-request'
gem 'thin'
-gem 'mysql', :require => false
+gem 'mysql', '2.8.1', :require => false
gem 'websocket-rack'
gem 'foreman'
@@ -19,4 +20,4 @@ group :test do
gem 'rspec'
gem 'rack-test'
gem 'timecop'
-end
+end
View
@@ -42,12 +42,13 @@ GEM
i18n (0.6.1)
json (1.7.6)
multi_json (1.5.0)
- mysql (2.9.0)
+ mysql (2.8.1)
rack (1.5.0)
rack-protection (1.3.2)
rack
rack-test (0.6.2)
rack (>= 1.0)
+ rake (10.0.3)
rspec (2.12.0)
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
@@ -90,8 +91,9 @@ DEPENDENCIES
foreman
haml
json
- mysql
+ mysql (= 2.8.1)
rack-test
+ rake
rspec
sinatra
sqlite3
View
@@ -1 +1 @@
-web: /usr/local/rvm/bin/rvm-exec 1.9.3 bundle exec thin-websocket -e production -R config.ru start -p $PORT
+web: /usr/local/rvm/bin/rvm-exec 1.9.3 thin -e production -R config.ru start -p $PORT
@@ -1,2 +1,2 @@
-web: env TUBEHUB_MODE=frontend bundle exec thin-websocket -e development -R config.ru start -p $PORT
-web_slave: env TUBEHUB_MODE=backend bundle exec thin-websocket -e development -R config.ru start -p $PORT
+web: env TUBEHUB_MODE=frontend bundle exec thin -e development -R config.ru start -p $PORT
+web_slave: env TUBEHUB_MODE=backend bundle exec thin -e development -R config.ru start -p $PORT
@@ -1 +1 @@
-web: bundle exec thin-websocket -e development -R config.ru start -p $PORT
+web: bundle exec thin -e development -R config.ru start -p $PORT

0 comments on commit 754fc71

Please sign in to comment.