meow-deploy 0.0.4 → 0.0.5

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.md CHANGED
@@ -34,6 +34,15 @@ 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`:
39
+
40
+ ```ruby
41
+ set :default_environment, {
42
+ 'PATH' => "/home/deploy/.rbenv/shims:/home/deploy/.rbenv/bin:$PATH"
43
+ }
44
+ ```
45
+
37
46
  Add optional hooks for uploading your .rbenv-vars file if you're using the rbenv-vars plugin:
38
47
 
39
48
  ```ruby
@@ -53,7 +62,6 @@ You can modify any of the following options in your `deploy.rb` config.
53
62
  - `god_sites_path` - Directory where god configs for all apps on the server are symlinked for reloading after reboot. Given user is `deploy` defaults to `/home/deploy/sites/god`
54
63
  - `god_app_path` - App-specific god.conf. Defaults to `#{current_path}/config/god.conf`.
55
64
  - `bundle_flags` - Bundler flags for generating binstubs that use rbenv. Defaults to `--deployment --quiet --binstubs --shebang ruby-local-exec`
56
- - `default_environment` - Make sure PATH env var includes rbenv paths. Given user is `deploy` defaults to `{'PATH' => "/home/deploy/.rbenv/shims:/home/deploy/.rbenv/bin:$PATH"}`
57
65
 
58
66
  ## License
59
67
 
@@ -29,8 +29,6 @@ module MeowDeploy
29
29
  !current_env['PATH'].include?('rbenv/shims')
30
30
 
31
31
  abort "Make sure to set :default_environment to have PATH include rbenv like this: \n#{env.inspect}"
32
- else
33
- set :default_environment, env
34
32
  end
35
33
  end
36
34
 
@@ -1,3 +1,3 @@
1
1
  module MeowDeploy
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: meow-deploy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.4
5
+ version: 0.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kristjan Rang