rvm 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemtest +0 -0
- data/History.txt +5 -0
- data/LICENCE +1 -1
- data/Manifest.txt +34 -0
- data/README +42 -11
- data/Rakefile +59 -0
- data/VERSION +1 -0
- data/lib/rvm.rb +2 -0
- data/lib/rvm/environment.rb +1 -1
- data/lib/rvm/environment/gemset.rb +1 -1
- data/lib/rvm/version.rb +6 -13
- data/releases/rvm-1.2.7.tar.gz +0 -0
- data/releases/rvm-1.2.7.tar.gz.md5 +1 -0
- data/sha1 +1 -0
- metadata +45 -18
- data/lib/VERSION.yml +0 -4
- data/releases/rvm-1.2.6.tar.gz +0 -0
- data/releases/rvm-1.2.6.tar.gz.md5 +0 -1
- data/rvm.gemspec +0 -97
data/.gemtest
ADDED
File without changes
|
data/History.txt
ADDED
data/LICENCE
CHANGED
data/Manifest.txt
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
History.txt
|
2
|
+
Manifest.txt
|
3
|
+
LICENCE
|
4
|
+
README
|
5
|
+
Rakefile
|
6
|
+
VERSION
|
7
|
+
sha1
|
8
|
+
lib/rvm.rb
|
9
|
+
lib/rvm/capistrano.rb
|
10
|
+
lib/rvm/environment.rb
|
11
|
+
lib/rvm/environment/alias.rb
|
12
|
+
lib/rvm/environment/cleanup.rb
|
13
|
+
lib/rvm/environment/configuration.rb
|
14
|
+
lib/rvm/environment/env.rb
|
15
|
+
lib/rvm/environment/gemset.rb
|
16
|
+
lib/rvm/environment/info.rb
|
17
|
+
lib/rvm/environment/list.rb
|
18
|
+
lib/rvm/environment/rubies.rb
|
19
|
+
lib/rvm/environment/sets.rb
|
20
|
+
lib/rvm/environment/tools.rb
|
21
|
+
lib/rvm/environment/utility.rb
|
22
|
+
lib/rvm/environment/wrapper.rb
|
23
|
+
lib/rvm/errors.rb
|
24
|
+
lib/rvm/install_command_dumper.rb
|
25
|
+
lib/rvm/shell.rb
|
26
|
+
lib/rvm/shell/abstract_wrapper.rb
|
27
|
+
lib/rvm/shell/calculate_rvm_path.sh
|
28
|
+
lib/rvm/shell/result.rb
|
29
|
+
lib/rvm/shell/shell_wrapper.sh
|
30
|
+
lib/rvm/shell/single_shot_wrapper.rb
|
31
|
+
lib/rvm/shell/utility.rb
|
32
|
+
lib/rvm/version.rb
|
33
|
+
releases/rvm-1.2.7.tar.gz
|
34
|
+
releases/rvm-1.2.7.tar.gz.md5
|
data/README
CHANGED
@@ -1,9 +1,17 @@
|
|
1
|
+
= rvm
|
1
2
|
|
2
|
-
|
3
|
+
* http://github.com/wayneeseguin/rvm
|
4
|
+
|
5
|
+
== DESCRIPTION:
|
6
|
+
|
7
|
+
RVM is the Ruby Version Manager (rvm). It manages Ruby interpreter
|
8
|
+
environments and switching between them.
|
9
|
+
|
10
|
+
== Usage
|
3
11
|
|
4
12
|
rvm [Flags] [Options] Action [Implementation[,Implementation[,...]]
|
5
13
|
|
6
|
-
Flags
|
14
|
+
== Flags
|
7
15
|
|
8
16
|
--default - with 'rvm use X', sets the default ruby for new shells to X.
|
9
17
|
--debug - Toggle debug mode on for very verbose output.
|
@@ -15,7 +23,7 @@ Flags
|
|
15
23
|
--docs - with install, attempt to generate ri after installation.
|
16
24
|
--reconfigure - Force ./configure on install even if Makefile already exists.
|
17
25
|
|
18
|
-
Options
|
26
|
+
== Options
|
19
27
|
|
20
28
|
-v|--version - Emit rvm version loaded for current shell
|
21
29
|
-l|--level - patch level to use with rvm use / install
|
@@ -37,7 +45,7 @@ Options
|
|
37
45
|
--ree-options - Options passed directly to ree's './installer' on the command line.
|
38
46
|
--with-rubies - Specifies a string for rvm to attempt to expand for set operations.
|
39
47
|
|
40
|
-
Action
|
48
|
+
== Action
|
41
49
|
|
42
50
|
(Note that for most actions, 'rvm help action-name' may provide more information.)
|
43
51
|
|
@@ -49,8 +57,9 @@ Action
|
|
49
57
|
This means everything in $rvm_path (~/.rvm).
|
50
58
|
This does not touch your profiles, which is why
|
51
59
|
there is an if around the sourcing scripts/rvm.
|
52
|
-
|
53
|
-
(If you experience bugs try this first with
|
60
|
+
get - {head,latest} upgrades rvm to latest head or release version.
|
61
|
+
(If you experience bugs try this first with head version, then
|
62
|
+
ask for help in #rvm on irc.freenode.net and hang around)
|
54
63
|
reset - remove current and stored default & system settings.
|
55
64
|
(If you experience odd behavior try this second)
|
56
65
|
info - show the *current* environment information for current ruby
|
@@ -92,8 +101,7 @@ Action
|
|
92
101
|
|
93
102
|
gemset - gemsets: http://rvm.beginrescueend.com/gemsets/
|
94
103
|
|
95
|
-
rubygems -
|
96
|
-
1.8-compatible ruby.
|
104
|
+
rubygems - Switches the installed version of rubygems for the current ruby.
|
97
105
|
|
98
106
|
gemdir - display the path to the current gem directory (GEM_HOME).
|
99
107
|
srcdir - display the path to rvm source directory (may be yanked)
|
@@ -108,7 +116,7 @@ Action
|
|
108
116
|
export - Temporarily set an environment variable in the current shell.
|
109
117
|
unexport - Undo changes made to the environment by 'rvm export'.
|
110
118
|
|
111
|
-
Implementation
|
119
|
+
== Implementation
|
112
120
|
|
113
121
|
* ruby - MRI/YARV Ruby (The Gold Standard) {1.8.6,1.8.7,1.9.1,1.9.2...}
|
114
122
|
jruby - JRuby, Ruby interpreter on the Java Virtual Machine.
|
@@ -122,14 +130,37 @@ Implementation
|
|
122
130
|
default - use rvm set default ruby and system if it hasn't been set.
|
123
131
|
http://rvm.beginrescueend.com/rubies/default/
|
124
132
|
|
125
|
-
Resources:
|
133
|
+
== Resources:
|
126
134
|
|
127
135
|
http://rvm.beginrescueend.com/
|
128
136
|
https://www.pivotaltracker.com/projects/26822
|
129
137
|
|
130
|
-
Contributions:
|
138
|
+
== Contributions:
|
131
139
|
|
132
140
|
Any and all contributions offered in any form, past present or future, to the
|
133
141
|
RVM project are understood to be in complete agreement and acceptance with the
|
134
142
|
Apache Licence v2.0.
|
135
143
|
|
144
|
+
== INSTALL:
|
145
|
+
|
146
|
+
See http://rvm.beginrescueend.com/rvm/install/
|
147
|
+
|
148
|
+
or just use:
|
149
|
+
|
150
|
+
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
|
151
|
+
|
152
|
+
== LICENSE:
|
153
|
+
|
154
|
+
Copyright (c) 2009-2011 Wayne E. Seguin
|
155
|
+
|
156
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
157
|
+
you may not use this file except in compliance with the License.
|
158
|
+
You may obtain a copy of the License at
|
159
|
+
|
160
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
161
|
+
|
162
|
+
Unless required by applicable law or agreed to in writing, software
|
163
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
164
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
165
|
+
See the License for the specific language governing permissions and
|
166
|
+
limitations under the License.
|
data/Rakefile
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
require "rubygems"
|
2
|
+
require "hoe"
|
3
|
+
|
4
|
+
Hoe.spec "rvm" do
|
5
|
+
|
6
|
+
developer "Wayne E. Seguin", "wayneeseguin@gmail.com"
|
7
|
+
|
8
|
+
# TODO: package the release with the API .gem
|
9
|
+
#gemspec.files = [
|
10
|
+
# "README", "sha1", "LICENCE", "rvm.gemspec",
|
11
|
+
# # TODO: Go through manifest carefully.
|
12
|
+
# # FOR NOW glob
|
13
|
+
# Dir::glob("lib/**/**"),
|
14
|
+
# Dir::glob("releases/rvm-#{RVM::Version::STRING}.tar.gz*")
|
15
|
+
#].flatten
|
16
|
+
|
17
|
+
spec_extras[:rdoc_options] = proc do |ary|
|
18
|
+
# hoe kinda sucks for this! TODO: submit patch for Hoe#rdoc_options
|
19
|
+
ary.push "--inline-source", "--charset=UTF-8"
|
20
|
+
end
|
21
|
+
|
22
|
+
spec_extras[:post_install_message] = <<-POST_INSTALL_MESSAGE
|
23
|
+
#{"*" * 80}
|
24
|
+
|
25
|
+
This gem contains only the Ruby libraries for the RVM Ruby API.
|
26
|
+
|
27
|
+
In order to install RVM please use one of the methods listed in the
|
28
|
+
documentation:
|
29
|
+
|
30
|
+
http://rvm.beginrescueend.com/rvm/install/
|
31
|
+
|
32
|
+
such as,
|
33
|
+
|
34
|
+
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-latest )
|
35
|
+
|
36
|
+
followed by placing the sourcing line in your ~/.bash_profile or wherever may
|
37
|
+
be appropriate for your setup (example, .zshenv, /etc/profile, ...):
|
38
|
+
|
39
|
+
# Load RVM into a shell session *as a function*
|
40
|
+
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
|
41
|
+
|
42
|
+
After completing setup please open a new shell to use RVM and be sure to run
|
43
|
+
'rvm notes' to gain a list of dependencies to install before installing the
|
44
|
+
first Ruby. You can read more details about this process on the above
|
45
|
+
mentioned install page as well as the basics page:
|
46
|
+
|
47
|
+
http://rvm.beginrescueend.com/rvm/basics/
|
48
|
+
|
49
|
+
Enjoy!
|
50
|
+
|
51
|
+
~Wayne
|
52
|
+
|
53
|
+
#{"*" * 80}
|
54
|
+
POST_INSTALL_MESSAGE
|
55
|
+
end
|
56
|
+
|
57
|
+
task :test do
|
58
|
+
exec "bash -l -c \"./test/suite\""
|
59
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.2.7
|
data/lib/rvm.rb
CHANGED
data/lib/rvm/environment.rb
CHANGED
@@ -6,7 +6,7 @@ module RVM
|
|
6
6
|
class Environment
|
7
7
|
extend Forwardable
|
8
8
|
|
9
|
-
%w(configuration utility alias list gemset rubies cleanup sets env tools info).each do |key|
|
9
|
+
%w(configuration utility alias list gemset rubies cleanup sets env tools info wrapper).each do |key|
|
10
10
|
require File.join("rvm", "environment", key)
|
11
11
|
end
|
12
12
|
|
data/lib/rvm/version.rb
CHANGED
@@ -1,19 +1,12 @@
|
|
1
|
-
require '
|
1
|
+
require 'rvm'
|
2
2
|
|
3
3
|
module RVM
|
4
4
|
module Version
|
5
|
+
# TODO: delete me - this crap is wholly unnecessary. It is only
|
6
|
+
# here right now for backwards compatibility... Unsure if that is
|
7
|
+
# necessary at all so I'm being conservative.
|
5
8
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
# Current major version of rvm
|
10
|
-
MAJOR = VERSION_YAML[:major]
|
11
|
-
# Current minor version of rvm
|
12
|
-
MINOR = VERSION_YAML[:minor]
|
13
|
-
# Current patch level of rvm
|
14
|
-
PATCH = VERSION_YAML[:patch]
|
15
|
-
# A String with the current rvm version
|
16
|
-
STRING = [MAJOR, MINOR, PATCH].join(".").freeze
|
17
|
-
|
9
|
+
STRING = RVM::VERSION
|
10
|
+
MAJOR, MINOR, PATCH = STRING.split(/\./)
|
18
11
|
end
|
19
12
|
end
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
819e013d81840591c9bf11c00ef08995
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 7
|
10
|
+
version: 1.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Wayne E. Seguin
|
@@ -15,22 +15,45 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-25 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: hoe
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 41
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 9
|
33
|
+
- 1
|
34
|
+
version: 2.9.1
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id001
|
37
|
+
description: |-
|
38
|
+
RVM is the Ruby Version Manager (rvm). It manages Ruby interpreter
|
39
|
+
environments and switching between them.
|
40
|
+
email:
|
41
|
+
- wayneeseguin@gmail.com
|
24
42
|
executables: []
|
25
43
|
|
26
44
|
extensions: []
|
27
45
|
|
28
46
|
extra_rdoc_files:
|
29
|
-
-
|
47
|
+
- History.txt
|
48
|
+
- Manifest.txt
|
30
49
|
files:
|
50
|
+
- History.txt
|
51
|
+
- Manifest.txt
|
31
52
|
- LICENCE
|
32
53
|
- README
|
33
|
-
-
|
54
|
+
- Rakefile
|
55
|
+
- VERSION
|
56
|
+
- sha1
|
34
57
|
- lib/rvm.rb
|
35
58
|
- lib/rvm/capistrano.rb
|
36
59
|
- lib/rvm/environment.rb
|
@@ -56,9 +79,9 @@ files:
|
|
56
79
|
- lib/rvm/shell/single_shot_wrapper.rb
|
57
80
|
- lib/rvm/shell/utility.rb
|
58
81
|
- lib/rvm/version.rb
|
59
|
-
- releases/rvm-1.2.
|
60
|
-
- releases/rvm-1.2.
|
61
|
-
-
|
82
|
+
- releases/rvm-1.2.7.tar.gz
|
83
|
+
- releases/rvm-1.2.7.tar.gz.md5
|
84
|
+
- .gemtest
|
62
85
|
has_rdoc: true
|
63
86
|
homepage: http://github.com/wayneeseguin/rvm
|
64
87
|
licenses: []
|
@@ -68,9 +91,10 @@ post_install_message: |
|
|
68
91
|
|
69
92
|
This gem contains only the Ruby libraries for the RVM Ruby API.
|
70
93
|
|
71
|
-
In order to install RVM please use one of the methods listed in the
|
94
|
+
In order to install RVM please use one of the methods listed in the
|
95
|
+
documentation:
|
72
96
|
|
73
|
-
|
97
|
+
http://rvm.beginrescueend.com/rvm/install/
|
74
98
|
|
75
99
|
such as,
|
76
100
|
|
@@ -79,7 +103,8 @@ post_install_message: |
|
|
79
103
|
followed by placing the sourcing line in your ~/.bash_profile or wherever may
|
80
104
|
be appropriate for your setup (example, .zshenv, /etc/profile, ...):
|
81
105
|
|
82
|
-
|
106
|
+
# Load RVM into a shell session *as a function*
|
107
|
+
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
|
83
108
|
|
84
109
|
After completing setup please open a new shell to use RVM and be sure to run
|
85
110
|
'rvm notes' to gain a list of dependencies to install before installing the
|
@@ -95,6 +120,8 @@ post_install_message: |
|
|
95
120
|
********************************************************************************
|
96
121
|
|
97
122
|
rdoc_options:
|
123
|
+
- --main
|
124
|
+
- README.txt
|
98
125
|
- --inline-source
|
99
126
|
- --charset=UTF-8
|
100
127
|
require_paths:
|
@@ -120,9 +147,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
147
|
requirements: []
|
121
148
|
|
122
149
|
rubyforge_project: rvm
|
123
|
-
rubygems_version: 1.5.
|
150
|
+
rubygems_version: 1.5.2
|
124
151
|
signing_key:
|
125
152
|
specification_version: 3
|
126
|
-
summary: Ruby Version Manager (rvm)
|
153
|
+
summary: RVM is the Ruby Version Manager (rvm)
|
127
154
|
test_files: []
|
128
155
|
|
data/lib/VERSION.yml
DELETED
data/releases/rvm-1.2.6.tar.gz
DELETED
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
d08457148fc7cf4b4556909ca0ab6402
|
data/rvm.gemspec
DELETED
@@ -1,97 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{rvm}
|
8
|
-
s.version = "1.2.6"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Wayne E. Seguin"]
|
12
|
-
s.date = %q{2011-02-03}
|
13
|
-
s.description = %q{Manages Ruby interpreter environments and switching between them.}
|
14
|
-
s.email = %q{wayneeseguin@gmail.com}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"README"
|
17
|
-
]
|
18
|
-
s.files = [
|
19
|
-
"LICENCE",
|
20
|
-
"README",
|
21
|
-
"lib/VERSION.yml",
|
22
|
-
"lib/rvm.rb",
|
23
|
-
"lib/rvm/capistrano.rb",
|
24
|
-
"lib/rvm/environment.rb",
|
25
|
-
"lib/rvm/environment/alias.rb",
|
26
|
-
"lib/rvm/environment/cleanup.rb",
|
27
|
-
"lib/rvm/environment/configuration.rb",
|
28
|
-
"lib/rvm/environment/env.rb",
|
29
|
-
"lib/rvm/environment/gemset.rb",
|
30
|
-
"lib/rvm/environment/info.rb",
|
31
|
-
"lib/rvm/environment/list.rb",
|
32
|
-
"lib/rvm/environment/rubies.rb",
|
33
|
-
"lib/rvm/environment/sets.rb",
|
34
|
-
"lib/rvm/environment/tools.rb",
|
35
|
-
"lib/rvm/environment/utility.rb",
|
36
|
-
"lib/rvm/environment/wrapper.rb",
|
37
|
-
"lib/rvm/errors.rb",
|
38
|
-
"lib/rvm/install_command_dumper.rb",
|
39
|
-
"lib/rvm/shell.rb",
|
40
|
-
"lib/rvm/shell/abstract_wrapper.rb",
|
41
|
-
"lib/rvm/shell/calculate_rvm_path.sh",
|
42
|
-
"lib/rvm/shell/result.rb",
|
43
|
-
"lib/rvm/shell/shell_wrapper.sh",
|
44
|
-
"lib/rvm/shell/single_shot_wrapper.rb",
|
45
|
-
"lib/rvm/shell/utility.rb",
|
46
|
-
"lib/rvm/version.rb",
|
47
|
-
"releases/rvm-1.2.6.tar.gz",
|
48
|
-
"releases/rvm-1.2.6.tar.gz.md5",
|
49
|
-
"rvm.gemspec"
|
50
|
-
]
|
51
|
-
s.homepage = %q{http://github.com/wayneeseguin/rvm}
|
52
|
-
s.post_install_message = %q{********************************************************************************
|
53
|
-
|
54
|
-
This gem contains only the Ruby libraries for the RVM Ruby API.
|
55
|
-
|
56
|
-
In order to install RVM please use one of the methods listed in the documentation
|
57
|
-
|
58
|
-
http://rvm.beginrescueend.com/rvm/install/
|
59
|
-
|
60
|
-
such as,
|
61
|
-
|
62
|
-
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-latest )
|
63
|
-
|
64
|
-
followed by placing the sourcing line in your ~/.bash_profile or wherever may
|
65
|
-
be appropriate for your setup (example, .zshenv, /etc/profile, ...):
|
66
|
-
|
67
|
-
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
|
68
|
-
|
69
|
-
After completing setup please open a new shell to use RVM and be sure to run
|
70
|
-
'rvm notes' to gain a list of dependencies to install before installing the
|
71
|
-
first Ruby. You can read more details about this process on the above
|
72
|
-
mentioned install page as well as the basics page:
|
73
|
-
|
74
|
-
http://rvm.beginrescueend.com/rvm/basics/
|
75
|
-
|
76
|
-
Enjoy!
|
77
|
-
|
78
|
-
~Wayne
|
79
|
-
|
80
|
-
********************************************************************************
|
81
|
-
}
|
82
|
-
s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
|
83
|
-
s.require_paths = ["lib"]
|
84
|
-
s.rubyforge_project = %q{rvm}
|
85
|
-
s.rubygems_version = %q{1.5.0}
|
86
|
-
s.summary = %q{Ruby Version Manager (rvm)}
|
87
|
-
|
88
|
-
if s.respond_to? :specification_version then
|
89
|
-
s.specification_version = 3
|
90
|
-
|
91
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
92
|
-
else
|
93
|
-
end
|
94
|
-
else
|
95
|
-
end
|
96
|
-
end
|
97
|
-
|