Commit 4f5a53ef

mo k <m@mokhan.ca>
2011-09-21 03:35:03
fix deploy.rb and update gems.
1 parent 38fa53e
Changed files (3)
config/deploy.rb
@@ -42,8 +42,8 @@ ssh_options[:keys] = [File.join(ENV["HOME"], ".ssh", "amazon-cakeside", "cakesid
 #
 namespace :deploy do
   task :start, :roles => :app do
-    run "cd #{current_release} & rvm use 1.9.2 & rake thinking_sphinx:create RAILS_ENV=production & rake thinking_sphinx:start RAILS_ENV=production"
-    run "touch #{current_release}/tmp/restart.txt"
+    # run "cd #{current_path} & rvm use 1.9.2 & rake thinking_sphinx:create RAILS_ENV=production & rake thinking_sphinx:start RAILS_ENV=production"
+    run "touch #{current_path}/tmp/restart.txt"
   end
 
   task :stop, :roles => :app do
@@ -52,6 +52,6 @@ namespace :deploy do
 
   desc "Restart Application"
   task :restart, :roles => :app do
-    run "touch #{current_release}/tmp/restart.txt"
+    run "touch #{current_path}/tmp/restart.txt"
   end
 end
Gemfile
@@ -12,10 +12,9 @@ gem 'omniauth', '>=0.2.6'
 gem 'rmagick'
 gem 'bcrypt-ruby'
 gem 'json'
-gem 'thinking-sphinx', :git => 'git://github.com/freelancing-god/thinking-sphinx.git', :branch => 'rails3'
+gem 'thinking-sphinx'
 gem 'fog'
 gem 'kaminari'
-# gem 'acts-as-taggable-on'
 gem 'capistrano'
 
 group :development, :test do
Gemfile.lock
@@ -60,7 +60,7 @@ GEM
       coffee-script-source
       execjs
     coffee-script-source (1.1.2)
-    devise (1.4.5)
+    devise (1.4.6)
       bcrypt-ruby (~> 3.0)
       orm_adapter (~> 0.0.3)
       warden (~> 1.0.3)
@@ -71,7 +71,7 @@ GEM
     erubis (2.7.0)
     eventmachine (0.12.10)
     excon (0.6.6)
-    execjs (1.2.6)
+    execjs (1.2.8)
       multi_json (~> 1.0)
     factory_girl (2.1.0)
     factory_girl_rails (1.2.0)
@@ -116,8 +116,8 @@ GEM
     jquery-rails (1.0.14)
       railties (~> 3.0)
       thor (~> 0.14)
-    json (1.6.0)
-    json_pure (1.6.0)
+    json (1.6.1)
+    json_pure (1.6.1)
     kaminari (0.12.4)
       rails (>= 3.0.0)
     mail (2.3.0)