Project

General

Profile

Backport #4809

ruby1.9.1で GEM_HOME をセットしていると常にエラーが発生する

Added by okkez (okkez _) almost 8 years ago. Updated over 6 years ago.

Status:
Assigned
Priority:
Normal
[ruby-dev:43607]

Description

1.9.2では発生しないのですが、1.9.1では以下のエラーが発生します。
RVM で複数の Ruby を切り替えて動かしているときに不便なので直して欲しいです。

RVM を使いながらるりまの作業をしたいと思っています。

r25392をバックポートすると直るらしいです。

$ ruby-191 -e 'p ENV["GEM_HOME"]'
Error loading gem paths on load path in gem_prelude
can't modify frozen string
internal:gem_prelude:69:in force_encoding'
<internal:gem_prelude>:69:in
set_home'
internal:gem_prelude:38:in dir'
<internal:gem_prelude>:76:in
set_paths'
internal:gem_prelude:47:in path'
<internal:gem_prelude>:286:in
push_all_highest_version_gems_on_load_path'
internal:gem_prelude:355:in `'
"/home/okkez/.rvm/gems/ruby-1.9.2-p180"

History

Updated by naruse (Yui NARUSE) almost 8 years ago

  • Status changed from Open to Assigned
  • Assignee set to yugui (Yuki Sonoda)
#2

Updated by sorah (Sorah Fukumori) almost 8 years ago

  • Tracker changed from Bug to Backport
#3

Updated by naruse (Yui NARUSE) almost 8 years ago

  • Project changed from Ruby trunk to Backport191
  • Target version deleted (1.9.1)

Updated by Anonymous over 6 years ago

  • File QQ截图20120504205314.png added
#5

Updated by sorah (Sorah Fukumori) over 6 years ago

  • File deleted (QQ截图20120504205314.png)

Also available in: Atom PDF