rvm 0.0.64 → 0.0.65

Sign up to get free protection for your applications and to get access to all the features.
data/lib/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 0
4
- :patch: 64
4
+ :patch: 65
data/rvm.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rvm}
8
- s.version = "0.0.64"
8
+ s.version = "0.0.65"
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{2009-10-26}
12
+ s.date = %q{2009-10-28}
13
13
  s.default_executable = %q{rvm-install}
14
14
  s.description = %q{Manages Ruby interpreter installations and switching between them.}
15
15
  s.email = %q{wayneeseguin@gmail.com}
data/scripts/cli CHANGED
@@ -82,7 +82,8 @@ Options
82
82
  --bin - path for binaries to be placed (~/.rvm/bin/)
83
83
  --source - src directory to use (~/.rvm/src/)
84
84
  --archives - directory for downladed files (~/.rvm/archives/)
85
- -S|--script - Specify a script file to attempt to load and run (rubydo)
85
+ -S - Specify a script file to attempt to load and run (rubydo)
86
+ -e - Execute code from the command line.
86
87
  -G|--gems - root gem path to use
87
88
  -C|--configure - custom configure options, comma separated
88
89
  default: --enable-shared=true
@@ -175,17 +176,28 @@ function __rvm_parse_args {
175
176
  fi
176
177
  ;;
177
178
 
179
+ -S|-e)
180
+ rvm_action="ruby"
181
+ rvm_ruby_args="$rvm_token '$@'"
182
+ rvm_parse_break=1
183
+ ;;
184
+
178
185
  do|ruby|rake|gem|rubydo|rakedo|gemdo)
179
186
  if [[ "do" = "$rvm_action" ]] ; then rvm_action="ruby" ; fi
180
187
  rvm_action=$(echo $rvm_token | sed 's#do##g')
181
-
182
188
  if [[ "rake" = "$rvm_action" ]] || [[ "gem" = "$rvm_action" ]] || [[ "ruby" = "$rvm_action" ]] ; then
183
189
  if [[ -z "$1" ]] ; then
184
- rvm_action="error"
185
- rvm_error_message="the 'ruby' and 'gem' actions must be followed by arguments."
186
- else
190
+ if [[ "gem" = "$rvm_action" ]] || [[ "ruby" = "$rvm_action" ]] ; then
191
+ rvm_action="error"
192
+ rvm_error_message="the '$rvm_action' actions must be followed by arguments."
193
+ fi
194
+ elif [[ "-S" = "$1" ]] || [[ "-e" = "$1" ]] ; then
187
195
  rvm_action="ruby"
188
- rvm_ruby_args="$rvm_token $@"
196
+ flag="$1" ; shift
197
+ rvm_ruby_args="$flag '$@'"
198
+ rvm_parse_break=1
199
+ else
200
+ rvm_ruby_args="$*"
189
201
  rvm_parse_break=1
190
202
  fi
191
203
  else
@@ -292,7 +304,6 @@ function __rvm_parse_args {
292
304
  fi
293
305
  ;;
294
306
 
295
-
296
307
  -C|--configure)
297
308
  if [[ ! -z "$1" ]] ; then
298
309
  rvm_ruby_configure="$(echo $1 | tr ',' ' ')"
@@ -329,35 +340,29 @@ function __rvm_parse_args {
329
340
  shift
330
341
  ;;
331
342
 
332
- -S|--script|-e|--execute)
333
- rvm_action="ruby"
334
- rvm_ruby_args="$@"
335
- rvm_parse_break=1
336
- ;;
337
-
338
343
  default|system)
339
344
  rvm_action="use"
340
345
  rvm_ruby_interpreter="system"
341
346
  ;;
342
347
 
343
- --install) rvm_install_on_use_flag=1 ;;
344
- -h|--help|usage|help) rvm_action=help ;;
345
- --prefix) rvm_prefix_path="$1" ; shift ;;
346
- -G|--gems) rvm_gem_path="$1" ; shift ;;
347
- --source) rvm_src_path="$1" ; shift ;;
348
- --archives) rvm_archives_path="$1" ; shift ;;
349
- --make) rvm_ruby_make="$1" ; shift ;;
350
- --make-install) rvm_ruby_make_install="$1"; shift ;;
351
- --nice) rvm_niceness="$1" ; shift ;;
348
+ --install) rvm_install_on_use_flag=1 ;;
349
+ -h|--help|usage|help) rvm_action=help ;;
350
+ --prefix) rvm_prefix_path="$1" ; shift ;;
351
+ -G|--gems) rvm_gem_path="$1" ; shift ;;
352
+ --source) rvm_src_path="$1" ; shift ;;
353
+ --archives) rvm_archives_path="$1" ; shift ;;
354
+ --make) rvm_ruby_make="$1" ; shift ;;
355
+ --make-install) rvm_ruby_make_install="$1" ; shift ;;
356
+ --nice) rvm_niceness="$1" ; shift ;;
352
357
  -l|--level) rvm_ruby_patch_level="p$1" ; shift ;;
353
358
  # TODO: handle this below better (if $1 is null)
354
- -m|--gem-set) rvm_gem_set_name="$1" ; shift ;;
355
- tests|specs) rvm_action="tests" ;;
359
+ -m|--gem-set) rvm_gem_set_name="$1" ; shift ;;
360
+ --sdk) rvm_sdk="$1" ; shift ;;
361
+ --archflags) rvm_archflags="$1" ; shift ;;
362
+
363
+ tests|specs) rvm_action="tests" ;;
364
+ --trace) eval "rvm_$(echo $rvm_token | sed 's#-##g')_flag=1" ; set -x ;;
356
365
 
357
- --trace)
358
- eval "rvm_$(echo $rvm_token | sed 's#-##g')_flag=1"
359
- set -x
360
- ;;
361
366
  --self|--gem|--rubygems|--reconfigure|--default|--debug|--force|--all|--dump|--summary|--jit|--latest|--yaml|--json|--archive|--shebang|--env|--path|--tail|--delete)
362
367
  eval "rvm_$(echo $rvm_token | sed 's#-##g')_flag=1"
363
368
  ;;
@@ -374,7 +379,10 @@ function __rvm_parse_args {
374
379
  *)
375
380
  if [[ ! -z "$rvm_token" ]] ; then
376
381
  if [[ "gems" = "$rvm_action" ]] ; then
377
- if [[ ! -z "$(echo "$rvm_token" | awk '/\.gems$/')" ]] ; then
382
+ if match "$rvm_token" "^.+%.+$" ; then
383
+ rvm_gem_set_name="$(echo "$rvm_token" | awk -F'%' '{print $2}')"
384
+ rvm_ruby_string="$(echo "$rvm_token" | awk -F'%' '{print $1}')"
385
+ elif [[ ! -z "$(echo "$rvm_token" | awk '/\.gems$/')" ]] ; then
378
386
  rvm_file_name="$(echo "$rvm_token" | sed 's#\.gems##g').gems"
379
387
  # elif [[ ! -z "$(echo "$rvm_token" | awk '/\.gems$/')" ]] ; then
380
388
  else
@@ -439,49 +447,37 @@ function rvm {
439
447
  if [[ -z "$rvm_trace_flag" ]] ; then set +x ; else set -x ; fi
440
448
  result=0
441
449
  case "$rvm_action" in
442
- use) __rvm_use ; result=$? ;;
443
- gemdir) __rvm_gemdir ; result=$? ;;
444
- gemdup) __rvm_gemdup ; result=$? ;;
445
- srcdir) __rvm_source_dir ; result=$? ;;
446
- list) __rvm_list ; result=$? ;;
447
- version) __rvm_version ; result=$? ;;
448
- reset) __rvm_reset ; result=$? ;;
449
- # TODO: how can we use bin_path here for reload, default file?
450
- implode) __rvm_implode ; result=$? ;;
451
- update) __rvm_update ; result=$? ;;
452
- readline) __rvm_readline_install ; result=$? ;;
453
- reboot) __rvm_reboot ; result=$? ;;
454
- usage|help) __rvm_usage ; result=$? ;;
455
- benchmark) __rvm_benchmark ; result=$? ;;
456
- ruby) __rvm_do ; result=$? ;;
457
- inspect) __rvm_inspect ; result=$? ;;
458
- gems) __rvm_gems ; result=$? ;;
459
- remove) __rvm_remove_ruby ; result=$? ;;
460
- reload)
461
- source "$rvm_path/scripts/rvm"
462
- ;;
450
+ use) __rvm_use ; result=$? ;;
451
+ gemdir) __rvm_gemdir ; result=$? ;;
452
+ gemdup) __rvm_gemdup ; result=$? ;;
453
+ srcdir) __rvm_source_dir ; result=$? ;;
454
+ list) __rvm_list ; result=$? ;;
455
+ version) __rvm_version ; result=$? ;;
456
+ reset) __rvm_reset ; result=$? ;;
457
+ implode) __rvm_implode ; result=$? ;;
458
+ update) __rvm_update ; result=$? ;;
459
+ readline) __rvm_readline_install ; result=$? ;;
460
+ reboot) __rvm_reboot ; result=$? ;;
461
+ usage|help) __rvm_usage ; result=$? ;;
462
+ benchmark) __rvm_benchmark ; result=$? ;;
463
+ inspect) __rvm_inspect ; result=$? ;;
464
+ gems) __rvm_gems ; result=$? ;;
465
+ remove) __rvm_remove_ruby ; result=$? ;;
466
+ ruby|gem|rake) __rvm_do ; result=$? ;;
467
+ reload) source "$rvm_path/scripts/rvm" ;;
468
+ install|uninstall) __rvm_manage_rubies ; result=$? ;;
469
+ tests|specs) rvm_action="rake" ; __rvm_do ; result=$? ;;
463
470
 
464
471
  iconv|openssl|ncurses|zlib|readline)
465
472
  __rvm_${rvm_action}_install
466
473
  result=$?
467
474
  ;;
468
475
 
469
- install|uninstall)
470
- __rvm_manage_rubies
471
- result=$?
472
- ;;
473
-
474
476
  gemsync)
475
477
  rvm_source_gem_path=$(__rvm_select ; echo $rvm_ruby_gem_home)
476
478
  __rvm_gem_sync
477
479
  ;;
478
480
 
479
- tests|specs)
480
- rvm_summary_flag=1
481
- rvm_action="rake"
482
- __rvm_do
483
- ;;
484
-
485
481
  info|debug)
486
482
  __rvm_version
487
483
  __rvm_info
@@ -180,44 +180,50 @@ function __rvm_install_ruby {
180
180
  ;;
181
181
 
182
182
  rbx|rubinius)
183
+ __rvm_log "info" "Installing pre-requisites"
184
+ # prereqs, 1.8.7 w/ParseTree & rake. Yes this could all be one line... not pushing our luck.
185
+ echo "$(export rvm_install_on_use_flag=1 ; rvm 1.8.7)" # This should install if missing.
186
+ # TODO: use 'rvm gems load' here:
187
+ echo "$(rvm 1.8.7%rbx ; gem install --no-rdoc --no-ri rake ParseTree)" # This should install if missing.
188
+ __rvm_unset_ruby_variables
189
+ rvm_ruby_string="rbx-head" ; __rvm_select
190
+
183
191
  unset GEM_HOME GEM_PATH MY_RUBY_HOME IRBRC
184
192
  PATH=$(echo $PATH | tr ':' '\n' | awk '$0 !~ /rvm/' | paste -sd : -)
185
193
  PATH=$rvm_bin_path:$PATH ; export PATH
186
194
 
187
195
  rvm_ruby_repo_url=$rvm_rubinius_repo_url
188
- rvm_ruby_configure=" "
189
- rvm_ruby_src_path=$rvm_ruby_home
190
- rvm_ruby_make="rake"
191
- rvm_ruby_make_install="rake install"
192
196
  rvm_ruby_home="$rvm_path/$rvm_ruby_interpreter-$rvm_ruby_version"
193
- #rvm_ruby_revision="head"
194
197
 
195
198
  # For Installer, can do this once it's ready:
196
199
  RBX_PREFIX=$rvm_ruby_home ; export RBX_PREFIX
197
200
  # Also see 'rakelib/configuration.rake'
198
201
 
199
- if [[ ! -d "$rvm_ruby_src_path" ]] || [[ ! -d "$rvm_ruby_src_path/.git" ]] ; then
200
- rm -rf $rvm_ruby_src_path
201
- __rvm_run "rbx.repo" "git clone --depth 1 $rvm_ruby_repo_url $rvm_ruby_src_path" "Cloning $rvm_ruby_repo_url"
202
+ if [[ ! -d "$rvm_ruby_home" ]] || [[ ! -d "$rvm_ruby_home/.git" ]] ; then
203
+ rm -rf $rvm_ruby_home ; cd $rvm_home
204
+ __rvm_run "rbx.repo" "git clone --depth 1 $rvm_ruby_repo_url $rvm_ruby_home" "Cloning $rvm_ruby_repo_url"
202
205
  cd $rvm_ruby_home
203
206
  else
204
207
  cd $rvm_ruby_home
205
208
  __rvm_run "rbx.repo" "git pull origin master" "Pulling from origin master"
206
209
  fi
207
210
 
208
- # prereqs, 1.8.6 w/ParseTree & rake. Yes this could all be one line... not pushing our luck.
209
- echo "$(export rvm_install_on_use_flag=1 ; rvm 1.8.6)" # This should install if missing.
210
- echo "$(rvm 1.8.6 -m rbx ; gem install --no-rdoc --no-ri rake ParseTree)" # This should install if missing.
211
- rvm_ruby_interpreter="rbx"
212
- __rvm_select
211
+ #if [[ ! -x "$rvm_ruby_distclean" ]] ; then
212
+ # __rvm_run "rake.distclean" "\$(rvm 1.8.7%rbx ; rake distclean --trace)" "Running distclean."
213
+ #fi
213
214
 
215
+ rvm_ruby_configure="./configure --prefix=$rvm_ruby_home" ; message="Configuring rbx"
214
216
  if [[ ! -z "$rvm_jit_flag" ]] ; then
215
- __rvm_run "configure" "./configure --prefix=$rvm_ruby_home --enable-llvm" "Configuring rbx with LLVM enabled"
216
- else
217
- __rvm_run "configure" "./configure --prefix=$rvm_ruby_home" "Configuring rbx"
217
+ rvm_ruby_configure="$rvm_ruby_configure --enable-llvm" ; message="$message with LLVM enabled"
218
218
  fi
219
+ __rvm_run "configure" "$rvm_ruby_configure" "$message"
219
220
 
220
- __rvm_run "build" "\$(rvm 1.8.6 -m rbx ; rake build)" "Building rbx"
221
+ rvm_ruby_make="\$(rvm 1.8.7%rbx ; rake --trace)" ; message="Compiling rbx"
222
+ __rvm_run "rake" "$rvm_ruby_make" "$message"
223
+
224
+ # TODO: Uncomment the following once --prefix is working properly again
225
+ #rvm_ruby_make_install="\$(rvm 1.8.7%rbx ; rake install --trace)" ; message="Installing rbx"
226
+ #__rvm_run "rake.install" "$rvm_ruby_make" "$message"
221
227
 
222
228
  binaries="ruby irb" # Trick to work in more shells :)
223
229
  for binary_name in $(echo $binaries) ; do
@@ -225,6 +231,7 @@ function __rvm_install_ruby {
225
231
  done ; unset binary_name binaries
226
232
 
227
233
  __rvm_run "rake.install" "$rvm_ruby_home/bin/rbx gem install rake --no-rdoc --no-ri" "Installing Rake"
234
+
228
235
  binary=rake
229
236
  if [[ -f $rvm_ruby_gem_home/bin/$binary ]] ; then
230
237
  if [[ "$rvm_ruby_gem_home" != "$rvm_ruby_home" ]] ; then
data/scripts/selector CHANGED
@@ -191,7 +191,7 @@ function __rvm_use {
191
191
  if [[ -z "$IRBRC" ]] ; then unset IRBRC ; fi
192
192
 
193
193
  if [[ ! -d $MY_RUBY_HOME ]] ; then
194
- __rvm_log "warn" "$rvm_ruby_interpreter $rvm_ruby_version is not installed."
194
+ __rvm_log "warn" "$rvm_ruby_interpreter $rvm_ruby_string is not installed.\nTo install do: 'rvm install $rvm_ruby_string'"
195
195
  if [[ ! -z "$rvm_install_on_use_flag" ]] ; then
196
196
  __rvm_install_ruby $rvm_ruby_interpreter $rvm_ruby_version $rvm_ruby_patch_level
197
197
  fi
data/scripts/utility CHANGED
@@ -34,11 +34,22 @@ Info
34
34
  }
35
35
 
36
36
  function __rvm_debug {
37
- __rvm_log "debug" "\nPATH:\n$(echo $PATH | awk -F":" '{print $1":"$2":"$3":"$4":"$5}')"
37
+ __rvm_log "debug" "PATH:\n$(echo $PATH | awk -F":" '{print $1":"$2":"$3":"$4":"$5}')"
38
+ __rvm_log "debug" "uname -a: $(uname -a)"
39
+
40
+ if [[ "Darwin" = "$(uname)" ]] ; then
41
+ __rvm_log "debug" "uname -r: $(uname -r)"
42
+ __rvm_log "debug" "uname -m: $(uname -m)"
43
+ __rvm_log "debug" "sw_vers: $(sw_vers | tr "\n" ',')"
44
+ __rvm_log "debug" "ARCHFLAGS: $ARCHFLAGS"
45
+ __rvm_log "debug" "LDFLAGS: $LDFLAGS"
46
+ __rvm_log "debug" "CFLAGS: $CFLAGS"
47
+ __rvm_log "debug" "/Developer/SDKs/*:$(ls /Developer/SDKs/ | tr "\n" ',')"
48
+ fi
38
49
 
39
50
  for file_name in ~/.bash_profile ~/.bashrc ~/.zshrc ; do
40
51
  if [[ -s "$file_name" ]] ; then
41
- __rvm_log "debug" "\n$file_name:\n$(grep 'rvm' $file_name)"
52
+ __rvm_log "debug" "$file_name:\n$(grep 'rvm' $file_name)"
42
53
  fi
43
54
  done
44
55
 
@@ -113,11 +124,11 @@ function __rvm_run {
113
124
 
114
125
  function __rvm_cleanup_variables {
115
126
  __rvm_unset_ruby_variables
116
- unset rvm_ruby_selected_flag rvm_action rvm_irbrc_file rvm_src_path rvm_path rvm_prefix_path rvm_gem_path rvm_command rvm_error_message rvm_gem_set_name rvm_url rvm_config_path rvm_bin_path rvm_force_flag rvm_all_flag rvm_reconfigure_flag rvm_make_flags rvm_bin_flag rvm_load_flag rvm_dump_flag rvm_self_flag rvm_gem_flag rvm_rubygems_flag rvm_debug_flag rvm_delete_flag rvm_summary_flag rvm_test_flag _rvm_spec_flag rvm_json_flag rvm_yaml_flag rvm_shebang_flag rvm_env_flag rvm_tail_flag rvm_use_flag rvm_dir_flag rvm_list_flag rvm_empty_flag rvm_log_path rvm_file_name
127
+ unset rvm_ruby_selected_flag rvm_action rvm_irbrc_file rvm_src_path rvm_path rvm_prefix_path rvm_gem_path rvm_command rvm_error_message rvm_gem_set_name rvm_url rvm_config_path rvm_bin_path rvm_force_flag rvm_all_flag rvm_reconfigure_flag rvm_make_flags rvm_bin_flag rvm_load_flag rvm_dump_flag rvm_self_flag rvm_gem_flag rvm_rubygems_flag rvm_debug_flag rvm_delete_flag rvm_summary_flag rvm_test_flag _rvm_spec_flag rvm_json_flag rvm_yaml_flag rvm_shebang_flag rvm_env_flag rvm_tail_flag rvm_use_flag rvm_dir_flag rvm_list_flag rvm_empty_flag rvm_log_path rvm_file_name rvm_ruby_configure
117
128
  }
118
129
 
119
130
  function __rvm_unset_ruby_variables {
120
- unset rvm_ruby_interpreter rvm_ruby_version rvm_ruby_repo_url rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_configure rvm_ruby_make rvm_ruby_make_install rvm_ruby_revision rvm_ruby_tag rvm_major_version rvm_minor_version rvm_ruby_gem_home rvm_ruby_binary rvm_ruby_home rvm_ruby_log_path rvm_ruby_src_path rvm_ruby_irbrc rvm_ruby_selected_flag rvm_ruby_string rvm_ruby_string rvm_ruby_src_path rvm_ruby_repo_url rvm_major_version rvm_minor_version rvm_ruby_gem_home rvm_head_flag
131
+ unset rvm_ruby_interpreter rvm_ruby_version rvm_ruby_repo_url rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_make rvm_ruby_make_install rvm_ruby_revision rvm_ruby_tag rvm_major_version rvm_minor_version rvm_ruby_gem_home rvm_ruby_binary rvm_ruby_home rvm_ruby_log_path rvm_ruby_src_path rvm_ruby_irbrc rvm_ruby_selected_flag rvm_ruby_string rvm_ruby_string rvm_ruby_src_path rvm_ruby_repo_url rvm_major_version rvm_minor_version rvm_ruby_gem_home rvm_head_flag
121
132
  }
122
133
 
123
134
  # TODO: root user loadng of /etc/rvmrc
@@ -693,6 +704,9 @@ function __rvm_irbrc {
693
704
 
694
705
  require "irb/completion" rescue nil
695
706
 
707
+ require "irb/ext/save-history"
708
+ IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history"
709
+
696
710
  @prompt = {
697
711
  :PROMPT_I => "${rvm_ruby_package_name} > ", # default prompt
698
712
  :PROMPT_S => "${rvm_ruby_package_name}%l> ", # known continuation
@@ -701,9 +715,8 @@ require "irb/completion" rescue nil
701
715
  :RETURN => " => %s \n",
702
716
  :AUTO_INDENT => true
703
717
  }
704
- @prompt_mode = :DEFAULT
705
- IRB.conf[:PROMPT][@prompt_mode] = @prompt
706
- IRB.conf[:PROMPT_MODE] = @prompt_mode
718
+ IRB.conf[:PROMPT][:RVM] = @prompt
719
+ IRB.conf[:PROMPT_MODE] = :RVM
707
720
 
708
721
  load '$HOME/.irbrc' if File.exists?('$HOME/.irbrc') rescue nil
709
722
 
@@ -836,18 +849,27 @@ function __rvm_ncurses_install {
836
849
  __rvm_make_flags() {
837
850
  PATH=${rvm_path}/usr/bin:$PATH ; export PATH
838
851
  if [[ "Darwin" = "$(uname)" ]] ; then
839
- sdk="$(/bin/ls -t /Developer/SDKs/ | head -n 1)"
840
- if [[ "Darwin" = "$(uname)" ]] ; then
841
- rvm_archflags="-arch $(uname -m)"
842
- if [[ "-arch x86_64" = "$rvm_archflags" ]] ; then
843
- openssl_os="os/compiler darwin64-x86_64-cc"
852
+ if [[ -z "$rvm_archflags" ]] ; then
853
+ if [[ $(echo "scale=4; $(uname -r | awk -F'.' '{print $1"."$2}') >= 10.0" | bc) -eq 1 ]] ; then
854
+ rvm_archflags="-arch x86_64"
844
855
  else
845
- openssl_os="os/compiler darwin-i386-cc"
856
+ rvm_archflags="-arch i386"
846
857
  fi
847
858
  fi
848
- CFLAGS="-isysroot /Developer/SDKs/$sdk $rvm_archflags" ; export CFLAGS
849
- LDFLAGS="-Wl,-syslibroot /Developer/SDKs/$sdk $rvm_archflags" ; export LDFLAGS
850
- # CXXFLAGS="-mmacosx-version-min="$(sw_vers -productVersion | awk -F'.' '{print $1"."$2}')" -isysroot /Developer/SDKs/$sdk " ; export CXXFLAGS
859
+
860
+ if [[ -z "$rvm_sdk" ]] ; then
861
+ rvm_sdk="$(ls /Developer/SDKs/ | sort | tail -n 1)"
862
+ fi
863
+
864
+ if [[ "-arch x86_64" = "$rvm_archflags" ]] ; then
865
+ openssl_os="os/compiler darwin64-x86_64-cc"
866
+ else
867
+ openssl_os="os/compiler darwin-i386-cc"
868
+ fi
869
+
870
+ CFLAGS="-isysroot /Developer/SDKs/$rvm_sdk $rvm_archflags" ; export CFLAGS
871
+ LDFLAGS="-Wl,-syslibroot /Developer/SDKs/$rvm_sdk $rvm_archflags" ; export LDFLAGS
872
+ # CXXFLAGS="-mmacosx-version-min="$(sw_vers -productVersion | awk -F'.' '{print $1"."$2}')" -isysroot /Developer/SDKs/$rvm_sdk " ; export CXXFLAGS
851
873
  ARCHFLAGS="$rvm_archflags" ; export ARCHFLAGS
852
874
  fi
853
875
  }
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.64
4
+ version: 0.0.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wayne E. Seguin
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-26 00:00:00 -04:00
12
+ date: 2009-10-28 00:00:00 -04:00
13
13
  default_executable: rvm-install
14
14
  dependencies: []
15
15