railslove_deploy 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,12 +2,12 @@ namespace :thinking_sphinx do
2
2
 
3
3
  desc "Configure Thinkig Sphinx"
4
4
  task :config, :roles => :app do
5
- run "cd #{current_path}; rake ts:config RAILS_ENV=#{fetch(:rails_env, "production")}"
5
+ run "cd #{release_path}; rake ts:config RAILS_ENV=#{fetch(:rails_env, "production")}"
6
6
  end
7
7
 
8
8
  desc "Start Thinkig Sphinx"
9
9
  task :start, :roles => :app do
10
- run "cd #{current_path}; rake ts:start RAILS_ENV=#{fetch(:rails_env, "production")}"
10
+ run "cd #{release_path}; rake ts:start RAILS_ENV=#{fetch(:rails_env, "production")}"
11
11
  end
12
12
 
13
13
  desc "Stop Thinkig Sphinx"
@@ -17,15 +17,15 @@ namespace :thinking_sphinx do
17
17
 
18
18
  desc "Run Thinkig Sphinx indexing"
19
19
  task :index, :roles => :app do
20
- run "cd #{current_path}; rake ts:index RAILS_ENV=#{fetch(:rails_env, "production")}"
20
+ run "cd #{release_path}; rake ts:index RAILS_ENV=#{fetch(:rails_env, "production")}"
21
21
  end
22
22
 
23
23
  desc "Bootstrap Thinkig Sphinx"
24
24
  task :bootstrap, :roles => :app do
25
- run "cd #{current_path}; rake ts:stop RAILS_ENV=#{fetch(:rails_env, "production")}"
26
- run "cd #{current_path}; rake ts:config RAILS_ENV=#{fetch(:rails_env, "production")}"
27
- run "cd #{current_path}; rake ts:index RAILS_ENV=#{fetch(:rails_env, "production")}"
28
- run "cd #{current_path}; rake ts:start RAILS_ENV=#{fetch(:rails_env, "production")}"
25
+ run "cd #{release_path}; rake ts:stop RAILS_ENV=#{fetch(:rails_env, "production")}"
26
+ run "cd #{release_path}; rake ts:config RAILS_ENV=#{fetch(:rails_env, "production")}"
27
+ run "cd #{release_path}; rake ts:index RAILS_ENV=#{fetch(:rails_env, "production")}"
28
+ run "cd #{release_path}; rake ts:start RAILS_ENV=#{fetch(:rails_env, "production")}"
29
29
  end
30
30
 
31
31
  desc "Symlink Sphinx index DB"
@@ -1,6 +1,6 @@
1
1
  package :essentials do
2
2
  description 'Essential Tools'
3
- apt %w{sudo wget make unzip curl libcurl3 libcurl3-dev libpcre3 libpcre3-dev libpcrecpp0 libssl-dev zlib1g-dev libgcrypt11-dev openssl libssl-dev gcc g++ gettext libreadline-dev logrotate ssl-cert flex} do
3
+ apt %w{sudo wget make unzip curl libcurl3 libcurl3-dev libpcre3 libpcre3-dev libpcrecpp0 libssl-dev libxml2-dev libxml2 libxslt-dev zlib1g-dev libgcrypt11-dev openssl libssl-dev gcc g++ gettext libreadline-dev logrotate ssl-cert flex} do
4
4
  pre :install, 'apt-get update'
5
5
  end
6
6
 
@@ -32,5 +32,5 @@ package :ruby_enterprise, :provides => :ruby do
32
32
  end
33
33
 
34
34
  package :ree_dependencies do
35
- apt %w(libopenssl-ruby zlib1g-dev libreadline5-dev libssl-dev)
35
+ apt %w(libopenssl-ruby zlib1g-dev libreadline5-dev libssl-dev libxml-ruby)
36
36
  end
@@ -6,9 +6,9 @@
6
6
  DocumentRoot /var/www/rails_apps/<%= application %>/current/public
7
7
 
8
8
  <directory "/var/www/rails_apps/<%= application %>/current/public">
9
- AllowOverride all # <-- relax Apache security settings
10
- Options -MultiViews # <-- MultiViews must be turned off
11
- Options FollowSymLinks
9
+ AllowOverride all
10
+ Options -MultiViews
11
+ Options FollowSymLinks
12
12
  </directory>
13
13
  RailsEnv <%= fetch(:rails_env, "production") %>
14
14
  LogLevel warn
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railslove_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bumann
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-28 00:00:00 +01:00
12
+ date: 2010-03-03 00:00:00 +01:00
13
13
  default_executable: deployify
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency