rvm-capistrano 1.3.3.rc1 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +14 -5
- data/lib/rvm/capistrano/version.rb +1 -1
- metadata +7 -11
data/README.md
CHANGED
@@ -33,16 +33,25 @@ The following code will:
|
|
33
33
|
Example:
|
34
34
|
|
35
35
|
```ruby
|
36
|
-
set :rvm_ruby_string, :local
|
37
|
-
set :rvm_autolibs_flag, "read-only"
|
36
|
+
set :rvm_ruby_string, :local # use the same ruby as used locally for deployment
|
37
|
+
set :rvm_autolibs_flag, "read-only" # more info: rvm help autolibs
|
38
38
|
|
39
|
-
before 'deploy:setup', 'rvm:install_rvm'
|
40
|
-
before 'deploy:setup', 'rvm:install_ruby'
|
41
|
-
before 'deploy:setup', 'rvm:create_gemset' # only create gemset
|
39
|
+
before 'deploy:setup', 'rvm:install_rvm' # install RVM
|
40
|
+
before 'deploy:setup', 'rvm:install_ruby' # install Ruby and create gemset, OR:
|
41
|
+
# before 'deploy:setup', 'rvm:create_gemset' # only create gemset
|
42
42
|
|
43
43
|
require "rvm/capistrano"
|
44
44
|
```
|
45
45
|
|
46
|
+
### Disabling `bundle --deployment` when using gemsets
|
47
|
+
|
48
|
+
Using gemsets is safer from `bundle --deployment` which is default, to disable it use:
|
49
|
+
|
50
|
+
```ruby
|
51
|
+
set :bundle_dir, ''
|
52
|
+
set :bundle_flags, '--system --quiet'
|
53
|
+
```
|
54
|
+
|
46
55
|
### RVM + Ruby on every deploy
|
47
56
|
|
48
57
|
Update RVM and make sure Ruby is installed on every deploy:
|
metadata
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rvm-capistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
9
|
- 3
|
10
|
-
|
11
|
-
- 1
|
12
|
-
version: 1.3.3.rc1
|
10
|
+
version: 1.3.3
|
13
11
|
platform: ruby
|
14
12
|
authors:
|
15
13
|
- Wayne E. Seguin
|
@@ -105,14 +103,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
105
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
104
|
none: false
|
107
105
|
requirements:
|
108
|
-
- - "
|
106
|
+
- - ">="
|
109
107
|
- !ruby/object:Gem::Version
|
110
|
-
hash:
|
108
|
+
hash: 3
|
111
109
|
segments:
|
112
|
-
-
|
113
|
-
|
114
|
-
- 1
|
115
|
-
version: 1.3.1
|
110
|
+
- 0
|
111
|
+
version: "0"
|
116
112
|
requirements: []
|
117
113
|
|
118
114
|
rubyforge_project:
|