rvm 0.0.39 → 0.0.40

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rvm}
8
- s.version = "0.0.39"
8
+ s.version = "0.0.40"
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"]
@@ -89,10 +89,13 @@ function __rvm_install-source {
89
89
  elif [ -s ./configure ] ; then
90
90
  __rvm_log "info" "\tConfiguring $rvm_ruby_package_name using $rvm_ruby_configure, this may take a while depending on your cpu(s)..."
91
91
  if [ -d $rvm_path/usr/include/readline/ ] ; then
92
- __rvm_run "configure" "./configure --prefix=$rvm_ruby_home $rvm_ruby_configure --with-readline-dir=$rvm_path/usr/include/readline/"
93
- else
94
- __rvm_run "configure" "./configure --prefix=$rvm_ruby_home $rvm_ruby_configure"
92
+ parameters="$parameters --with-readline-dir=$rvm_path/usr/include/readline/"
93
+ fi
94
+ if [ -d $rvm_path/usr/include/iconv/ ] ; then
95
+ parameters="$parameters --with-iconv-dir=$rvm_path/usr/include/iconv/"
95
96
  fi
97
+ __rvm_run "configure" "./configure --prefix=$rvm_ruby_home --enable-shared=true $rvm_ruby_configure $parameters"
98
+ unset parameters
96
99
  if [ $? -gt 0 ] ; then status=$? ; return $status ; fi
97
100
  else
98
101
  __rvm_log "error" "\tSkipping configure step, 'configure' script does not exist, did autoconf not run successfully?"
@@ -529,6 +529,7 @@ function __rvm_do {
529
529
  unset temp
530
530
  __rvm_select
531
531
  __rvm_use
532
+ #__rvm_
532
533
  binary=`echo $rvm_action | sed 's/do$//'`
533
534
  lp="$rvm_ruby_home/bin:$rvm_ruby_load_path"
534
535
  if [ "$binary" = "ruby" ] ; then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.39
4
+ version: 0.0.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wayne E. Seguin