rvm 0.1.22 → 0.1.23

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/config/db CHANGED
@@ -29,11 +29,11 @@ macruby_version=0.5
29
29
  macruby_url=http://www.macruby.org/files
30
30
  macruby_repo_url=git://git.macruby.org/macruby/MacRuby.git
31
31
  macruby_nightly_url=http://macruby.icoretech.org/latest/macruby_nightly-latest.pkg
32
- maglev_version=22907
32
+ maglev_version=22949
33
33
  maglev_url=http://glass-downloads.gemstone.com/maglev
34
34
  maglev_repo_url=git://github.com/MagLev/maglev.git
35
35
  rubinius_repo_url=git://github.com/evanphx/rubinius.git
36
36
  shyouhei_repo_url=git://github.com/shyouhei/ruby.git
37
37
  ironruby_version=1.0-rc2
38
38
  ironruby_repo_url=git://github.com/ironruby/ironruby.git
39
- ironruby_url=http://github.com/ironruby/ironruby/zipball/
39
+ ironruby_url=http://github.com/ironruby/ironruby/tarball/
data/config/md5 CHANGED
@@ -47,6 +47,10 @@ GemStone-22907.Darwin-i386.tar.gz=c55d586da20dc4dd65da2e7f731f1d74
47
47
  GemStone-22907.Linux-x86_64.tar.gz=47c2d4527e3ea04715808048669d69ce
48
48
  MagLev-22907.Darwin-i386.tar.gz=8b7b351581611d076c7c9c1f90a04160
49
49
  MagLev-22907.Linux-x86_64.tar.gz=9f88d6bf8f607f5fdc1c476f7a6ab851
50
+ GemStone-22949.Darwin-i386.tar.gz=2ac3417790bf813bab0632b1cf976109
51
+ GemStone-22949.Linux-x86_64.tar.gz=5518cd8a8b8bd24d57cee04bc22fc7fa
52
+ MagLev-22949.Darwin-i386.tar.gz=b90de35669eee6b270089606c0ceee58
53
+ MagLev-22949.Linux-x86_64.tar.gz=4556d8b38e497124add43dcd24908bac
50
54
  MacRuby%200.5.zip=675454a8c7bc19d606d90a726e08427c
51
55
  jruby-bin-1.3.1.tar.gz=4a95db8fc93ed7219663fbede98b6117
52
56
  jruby-bin-1.4.0.tar.gz=f37322c18e9134e91e064aebb4baa4c7
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 22
4
+ :patch: 23
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rvm}
8
- s.version = "0.1.22"
8
+ s.version = "0.1.23"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Wayne E. Seguin"]
12
- s.date = %q{2010-03-03}
12
+ s.date = %q{2010-03-04}
13
13
  s.default_executable = %q{rvm-install}
14
14
  s.description = %q{Manages Ruby interpreter environments and switching between them.}
15
15
  s.email = %q{wayneeseguin@gmail.com}
@@ -539,8 +539,10 @@ RubyWrapper
539
539
 
540
540
  builtin cd $rvm_ruby_src_path
541
541
 
542
+ $rvm_bin_path/rvm 1.8.7 -S gem install pathname2 --no-rdoc --no-ri
543
+
542
544
  # MONO_LIB=/Library/Frameworks/Mono.framework/Versions/current/lib/
543
- rvm_ruby_make="rake MERLIN_ROOT=\"$rvm_ruby_src_path/Merlin/Main\" compile mono=1 configuration=release --trace"
545
+ rvm_ruby_make="$rvm_bin_path/rvm 1.8.7 -S rake MERLIN_ROOT=\"$rvm_ruby_src_path/Merlin/Main\" compile mono=1 configuration=release --trace"
544
546
  __rvm_run "rake" "$rvm_ruby_make" "Building IronRuby..."
545
547
  if [[ $? -gt 0 ]] ; then result=$? ; return $result ; fi
546
548
 
@@ -41,7 +41,7 @@ install_package() {
41
41
 
42
42
  unset configure_flags
43
43
 
44
- if [[ "$rvm_uninstall_flag" -eq 1 ]] || [[ "$rvm_remove_flag" -eq 1 ]] ; then
44
+ if [[ "$action" = "uninstall" ]] ; then
45
45
  __rvm_run "$package/make.uninstall" "/usr/bin/make uninstall" "Uninstalling $package from $rvm_usr_path"
46
46
  else
47
47
  __rvm_run "$package/make" "/usr/bin/make $rvm_make_flags" "Compiling $package in $rvm_src_path/$package-$version."
@@ -153,3 +153,4 @@ else
153
153
  $rvm_scripts_path/log "info" "Usage: 'rvm package {install,uninstall} {openssl,zlib,readline,iconv,ncurses}'"
154
154
  exit 1
155
155
  fi
156
+
@@ -407,7 +407,7 @@ __rvm_list_known() {
407
407
  echo -e "jruby-1.2.0\njruby-1.3.1\njruby(-1.4.0) # the default\njruby-head"
408
408
  echo -e "rbx(-prc1) # default\nrbx-head"
409
409
  echo -e "ree-1.8.6\nree(-1.8.7) # the default\nree-1.8.6-head\nree-1.8.7-head"
410
- echo -e "maglev(-22907)\nmaglev-head"
410
+ echo -e "maglev(-22949)\nmaglev-head"
411
411
  echo -e "mput(-head) # shyouhei head, the default mput"
412
412
  echo -e "ironruby-0.9.3\nironruby-1.0-rc2\nironruby-head"
413
413
  if [[ "Darwin" = "$(uname)" ]] ; then
@@ -668,18 +668,23 @@ __rvm_gemset_select() {
668
668
 
669
669
  # TODO: Remove next section after a several releases.
670
670
  # Migrate original rvm global gem cache directory to $HOME/.gem/cache
671
- if [[ -d "$rvm_path/gems/cache" ]] && [[ ! -L "$rvm_path/gems/cache" ]] ; then
672
- if [[ ! -z "$(ls -A "$rvm_path"/gems/cache/)" ]] ; then
673
- mv $rvm_path/gems/cache/* $HOME/.gem/cache/
671
+ if [[ "$(whoami)" != "root" ]] ; then
672
+ if [[ -d "$rvm_path/gems/cache" ]] && [[ ! -L "$rvm_path/gems/cache" ]] ; then
673
+ if [[ ! -z "$(ls -A "$rvm_path"/gems/cache/)" ]] ; then
674
+ mv $rvm_path/gems/cache/* $HOME/.gem/cache/
675
+ fi
676
+ rmdir $rvm_path/gems/cache
674
677
  fi
675
- rmdir $rvm_path/gems/cache
676
- fi
677
678
 
678
- # Some sanity checking.
679
- if [[ ! -e "$rvm_gems_cache_path" ]] ; then mkdir -p $rvm_gems_cache_path ; fi
680
- chmod u+w "$rvm_gems_cache_path"
681
- rm -f "$rvm_gems_path/cache"
682
- ln -nfs "$rvm_gems_cache_path" "$rvm_gems_path/cache"
679
+ # Some sanity checking.
680
+ if [[ ! -d "$rvm_gems_cache_path" ]] ; then
681
+ mkdir -p $rvm_gems_cache_path
682
+ fi
683
+ if [[ "$rvm_gems_cache_path" != "$rvm_gems_path/cache" ]] ; then
684
+ rm -f "$rvm_gems_path/cache"
685
+ ln -nfs "$rvm_gems_cache_path" "$rvm_gems_path/cache"
686
+ fi
687
+ fi
683
688
  chmod u+w "$rvm_gems_cache_path"
684
689
  # /TODO
685
690
 
@@ -724,6 +729,7 @@ __rvm_gemset_use() {
724
729
  BUNDLE_PATH="$rvm_ruby_gem_home"
725
730
  GEM_PATH="$rvm_ruby_gem_home/bin:$(echo $GEM_HOME | sed 's/%.*$//')%global/bin"
726
731
  export rvm_ruby_gem_home GEM_HOME BUNDLE_PATH GEM_PATH
732
+ __rvm_use
727
733
  fi
728
734
  return 0
729
735
  }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 22
9
- version: 0.1.22
8
+ - 23
9
+ version: 0.1.23
10
10
  platform: ruby
11
11
  authors:
12
12
  - Wayne E. Seguin
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-03 00:00:00 -05:00
17
+ date: 2010-03-04 00:00:00 -05:00
18
18
  default_executable: rvm-install
19
19
  dependencies: []
20
20