Commit 0f325264
config/deploy.rb
@@ -14,7 +14,7 @@ set :use_sudo, false
$:.unshift(File.expand_path('./lib', ENV['rvm_path']))
require "rvm/capistrano"
-# require 'bundler/capistrano'
+require 'bundler/capistrano'
set :rvm_ruby_string, '1.9.2@cakeside'
# set :rvm_type, :user
set :rvm_type, :system
@@ -33,18 +33,18 @@ ssh_options[:keys] = [File.join(ENV["HOME"], ".ssh", "amazon-cakeside", "cakesid
# end
#
#
-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"
- end
-
- task :stop, :roles => :app do
- # Do nothing.
- end
-
- desc "Restart Application"
- task :restart, :roles => :app do
- run "touch #{current_release}/tmp/restart.txt"
- end
-end
+# 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"
+# end
+#
+# task :stop, :roles => :app do
+# # Do nothing.
+# end
+#
+# desc "Restart Application"
+# task :restart, :roles => :app do
+# run "touch #{current_release}/tmp/restart.txt"
+# end
+# end
Gemfile
@@ -33,7 +33,17 @@ group :test do
gem 'growl_notify', :require => false if RUBY_PLATFORM =~ /darwin/i
# gem 'rb-inotify', :require => false if RUBY_PLATFORM =~ /linux/i
# gem 'libnotify', :require => false if RUBY_PLATFORM =~ /linux/i
+ # Pretty printed test output
+ gem 'turn', :require => false
end
group :production do
gem 'pg'
end
+
+# Gems used only for assets and not required
+# in production environments by default.
+group :assets do
+ gem 'sass-rails', " ~> 3.1.0"
+ gem 'coffee-rails', "~> 3.1.0"
+ gem 'uglifier'
+end