Project

General

Profile

Actions

Backport #4809

closed

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

Added by okkez (okkez _) over 13 years ago. Updated over 5 years ago.

Status:
Closed
[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"

Updated by naruse (Yui NARUSE) over 13 years ago

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

Updated by sorah (Sorah Fukumori) over 13 years ago

  • Tracker changed from Bug to Backport
Actions #3

Updated by naruse (Yui NARUSE) over 13 years ago

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

Updated by Anonymous almost 12 years ago

  • File QQ截图20120504205314.png added
Actions #5

Updated by sorah (Sorah Fukumori) almost 12 years ago

  • File deleted (QQ截图20120504205314.png)
Actions #6

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0