meow-deploy 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -4
- data/lib/meow-deploy/capistrano_integration.rb +3 -3
- data/lib/meow-deploy/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -34,19 +34,19 @@ Add necessary hooks:
|
|
34
34
|
after 'deploy:restart', 'god:reload', 'god:restart'
|
35
35
|
```
|
36
36
|
|
37
|
-
Make sure you set up the PATH env variable to include rbenv paths
|
38
|
-
|
37
|
+
Make sure you set up the PATH env variable to include rbenv paths.
|
38
|
+
For example if rbenv is installed in deployment user's home:
|
39
39
|
|
40
40
|
```ruby
|
41
41
|
set :default_environment, {
|
42
|
-
'PATH' => "/home
|
42
|
+
'PATH' => "/home/#{user}/.rbenv/shims:/home/#{user}/.rbenv/bin:$PATH"
|
43
43
|
}
|
44
44
|
```
|
45
45
|
|
46
46
|
Add optional hooks for uploading your .rbenv-vars file if you're using the rbenv-vars plugin:
|
47
47
|
|
48
48
|
```ruby
|
49
|
-
after 'deploy:
|
49
|
+
after 'deploy:finalize_update', 'secrets:upload', 'secrets:symlink'
|
50
50
|
```
|
51
51
|
|
52
52
|
Create a new configuration file `config/god.conf`.
|
@@ -59,9 +59,9 @@ module MeowDeploy
|
|
59
59
|
end
|
60
60
|
|
61
61
|
desc "Symlink env file."
|
62
|
-
task :symlink, :roles => :app do
|
63
|
-
run "ln -nfs #{
|
64
|
-
run "ln -nfs #{
|
62
|
+
task :symlink, :roles => :app, :except => {:no_release => true} do
|
63
|
+
run "ln -nfs #{release_path}/.env #{current_path}/.rbenv-vars"
|
64
|
+
run "ln -nfs #{release_path}/.env #{current_path}/.env"
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
data/lib/meow-deploy/version.rb
CHANGED
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: meow-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Kristjan Rang
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
prerelease: false
|