capistrano-rvm 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +15 -10
- data/capistrano-rvm.gemspec +2 -2
- metadata +12 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1ccd33fa4cd33ed931be328263947099472f874
|
4
|
+
data.tar.gz: 0c689312d7148d065d4617a7aa541c3524205c59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6abddfc708834e085ab5c15cd4e57d94535b46ef111e05e5ab0e57db9ef328bcebabe7b15df54769b7e1e5f57ee579cf41cb53e651d02b042aa34454c2c2cdd4
|
7
|
+
data.tar.gz: e614144cddb85ff4f7579e295ad829306c37204ba07d6a9287e4f184bb1f1d5d2f002568947b3d9007ee32ad56747fca5db536d800c1336d6ef45dea6c46b289
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Capistrano::RVM
|
2
2
|
|
3
|
-
RVM support for Capistrano
|
3
|
+
RVM support for Capistrano v3:
|
4
|
+
|
5
|
+
## Notes
|
6
|
+
|
7
|
+
**If you use this integration with capistrano-rails, please ensure that you have `capistrano-bundler >= 1.1.0`.**
|
4
8
|
|
5
9
|
## Installation
|
6
10
|
|
@@ -8,12 +12,11 @@ Add this line to your application's Gemfile:
|
|
8
12
|
|
9
13
|
# Gemfile
|
10
14
|
gem 'capistrano', '~> 3.0'
|
11
|
-
gem 'capistrano-rvm'
|
15
|
+
gem 'capistrano-rvm'
|
12
16
|
|
13
17
|
And then execute:
|
14
18
|
|
15
19
|
$ bundle install
|
16
|
-
$ bundle exec cap install
|
17
20
|
|
18
21
|
## Usage
|
19
22
|
|
@@ -26,12 +29,14 @@ And you should be good to go!
|
|
26
29
|
|
27
30
|
## Configuration
|
28
31
|
|
29
|
-
|
32
|
+
Everything *should work* for a basic RVM setup *out of the box*.
|
33
|
+
|
34
|
+
If you need some special settings, set those in the stage file for your server:
|
30
35
|
|
31
|
-
# stage file (staging.rb, production.rb or else)
|
32
|
-
set :rvm_type, :user
|
33
|
-
set :rvm_ruby_version, '2.0.0-p247'
|
34
|
-
set :rvm_custom_path, '~/.myveryownrvm'
|
36
|
+
# deploy.rb or stage file (staging.rb, production.rb or else)
|
37
|
+
set :rvm_type, :user # Defaults to: :auto
|
38
|
+
set :rvm_ruby_version, '2.0.0-p247' # Defaults to: 'default'
|
39
|
+
set :rvm_custom_path, '~/.myveryownrvm' # only needed if not detected
|
35
40
|
|
36
41
|
### RVM path selection: `:rvm_type`
|
37
42
|
|
@@ -68,8 +73,8 @@ to define a custom RVM path to tell capistrano where it is.
|
|
68
73
|
|
69
74
|
## Restrictions
|
70
75
|
|
71
|
-
Capistrano can't use
|
72
|
-
servers you are deploying to, you will have to manually use
|
76
|
+
Capistrano can't use RVM to install rubies or create gemsets, so on the
|
77
|
+
servers you are deploying to, you will have to manually use RVM to install the
|
73
78
|
proper ruby and create the gemset.
|
74
79
|
|
75
80
|
|
data/capistrano-rvm.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "capistrano-rvm"
|
7
|
-
gem.version = '0.1.
|
7
|
+
gem.version = '0.1.1'
|
8
8
|
gem.authors = ["Kir Shatrov"]
|
9
9
|
gem.email = ["shatrov@me.com"]
|
10
10
|
gem.description = %q{RVM integration for Capistrano}
|
@@ -16,6 +16,6 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.require_paths = ["lib"]
|
17
17
|
|
18
18
|
gem.add_dependency 'capistrano', '~> 3.0'
|
19
|
-
gem.add_dependency 'sshkit', '~> 1.2
|
19
|
+
gem.add_dependency 'sshkit', '~> 1.2'
|
20
20
|
|
21
21
|
end
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-rvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kir Shatrov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sshkit
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.2
|
33
|
+
version: '1.2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.2
|
40
|
+
version: '1.2'
|
41
41
|
description: RVM integration for Capistrano
|
42
42
|
email:
|
43
43
|
- shatrov@me.com
|
@@ -45,7 +45,7 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- .gitignore
|
48
|
+
- ".gitignore"
|
49
49
|
- CHANGELOG.md
|
50
50
|
- Gemfile
|
51
51
|
- LICENSE.txt
|
@@ -64,19 +64,18 @@ require_paths:
|
|
64
64
|
- lib
|
65
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project:
|
77
|
-
rubygems_version: 2.
|
77
|
+
rubygems_version: 2.2.1
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: RVM integration for Capistrano
|
81
81
|
test_files: []
|
82
|
-
has_rdoc:
|