openminds_deploy 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -55,9 +55,13 @@ If you want to override some settings from the openminds_deploy recipes, define
55
55
 
56
56
  set :deploy_to, "/home/#{user}/apps/staging/#{application}"
57
57
 
58
- If you deploy a Rails 3.1 application with the default settings, you need to precompile
59
- the assets upon deployment. A recipe for a simple case is to append these lines
60
- to the Capfile.
58
+ === Rails 3.1 with asset pipeline
59
+
60
+ If you deploy a Rails 3.1 application with the default settings, you need to precompile the assets upon deployment. If you are using capistrano >= 2.8.0 you can add the following line to your Capifile:
61
+
62
+ load 'deploy/assets'
63
+
64
+ If you are using an older version of capistrano, you should upgrade to a later version. If for some reason you can't do that, you can append these lines to your Capfile:
61
65
 
62
66
  before "deploy:symlink", "deploy:assets"
63
67
 
@@ -68,6 +72,13 @@ to the Capfile.
68
72
  end
69
73
  end
70
74
 
75
+ Also, the standard capistrano behavior will try to touch the
76
+ public/images, public/javascripts, public/stylesheets which will
77
+ cause warnings. Add this line to the Capfile or deploy.rb to
78
+ avoid that:
79
+
80
+ set :normalize_asset_timestamps, false
81
+
71
82
  == Recipes in detail
72
83
  === openminds_deploy/defaults
73
84
  This sets up variables like use_sudo and group_writable, enables SSH forwarding, and adds a task to link config/database.yml.
@@ -26,7 +26,7 @@ configuration.load do
26
26
  end
27
27
  end
28
28
 
29
- after 'deploy:update_code' do
29
+ after 'deploy:finalize_update' do
30
30
  dbconfig.link
31
31
  end
32
32
 
@@ -1,3 +1,3 @@
1
1
  module OpenmindsDeploy
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openminds_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,11 +12,11 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2011-09-27 00:00:00.000000000Z
15
+ date: 2011-09-28 00:00:00.000000000Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: capistrano
19
- requirement: &70185827066000 !ruby/object:Gem::Requirement
19
+ requirement: &70334746892720 !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
22
  - - ! '>='
@@ -24,7 +24,7 @@ dependencies:
24
24
  version: '2.5'
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *70185827066000
27
+ version_requirements: *70334746892720
28
28
  description: The most commonly used tasks in Capistrano recipes
29
29
  email: devel@openminds.be
30
30
  executables: []