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 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 as you would locally.
38
- Something like this given the app deployment user is `deploy`:
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/deploy/.rbenv/shims:/home/deploy/.rbenv/bin:$PATH"
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:create_symlink', 'secrets:upload', 'secrets:symlink'
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 #{shared_path}/.env #{current_path}/.rbenv-vars"
64
- run "ln -nfs #{shared_path}/.env #{current_path}/.env"
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
 
@@ -1,3 +1,3 @@
1
1
  module MeowDeploy
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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
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-09 00:00:00.000000000 Z
12
+ date: 2012-11-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  prerelease: false