openminds_deploy 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +14 -3
- data/lib/openminds_deploy/defaults.rb +1 -1
- data/lib/openminds_deploy/version.rb +1 -1
- metadata +4 -4
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
|
-
|
59
|
-
|
60
|
-
to the
|
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.
|
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.
|
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-
|
15
|
+
date: 2011-09-28 00:00:00.000000000Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: capistrano
|
19
|
-
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: *
|
27
|
+
version_requirements: *70334746892720
|
28
28
|
description: The most commonly used tasks in Capistrano recipes
|
29
29
|
email: devel@openminds.be
|
30
30
|
executables: []
|