meow-deploy 0.0.3 → 0.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.md +1 -1
- data/lib/meow-deploy/capistrano_integration.rb +1 -1
- data/lib/meow-deploy/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -53,7 +53,7 @@ You can modify any of the following options in your `deploy.rb` config.
|
|
53
53
|
- `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
54
|
- `god_app_path` - App-specific god.conf. Defaults to `#{current_path}/config/god.conf`.
|
55
55
|
- `bundle_flags` - Bundler flags for generating binstubs that use rbenv. Defaults to `--deployment --quiet --binstubs --shebang ruby-local-exec`
|
56
|
-
- `default_environment` -
|
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
57
|
|
58
58
|
## License
|
59
59
|
|
@@ -26,7 +26,7 @@ module MeowDeploy
|
|
26
26
|
|
27
27
|
if exists?(:default_environment) &&
|
28
28
|
!!current_env['PATH'] &&
|
29
|
-
!current_env['PATH'].
|
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
32
|
else
|
data/lib/meow-deploy/version.rb
CHANGED