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 +9 -1
- data/lib/meow-deploy/capistrano_integration.rb +0 -2
- data/lib/meow-deploy/version.rb +1 -1
- metadata +1 -1
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
|
|
data/lib/meow-deploy/version.rb
CHANGED