Project

General

Profile

Actions

Bug #6906

closed

cannot load such file -- rubygems.rb (LoadError)

Added by detomastah (Łukasz Pełszyński) over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p0 (2011-10-30) [i686-linux]
Backport:
[ruby-core:47281]

Description

After 1.9.3 compilation, I cannot run ./ruby from compilation directory. I have to do make install to make it work.

I would like you to reopen ticket http://redmine.ruby-lang.org/issues/4941 concerning this bug. I call it a bug, because it never occurred prior to 1.9.3.
It also breaks non-written rule of UNIX programs running after compilation. It sounds just stupid to me to install it after every recompilation, in order to benchmark my changes.


Related issues 1 (0 open1 closed)

Is duplicate of Ruby master - Bug #4941: cannot load such file -- rubygems.rb (LoadError)Rejectedusa (Usaku NAKAMURA)06/28/2011Actions

Updated by drbrain (Eric Hodel) over 11 years ago

  • Status changed from Open to Rejected

If you did not install ruby but could run ruby programs you were using a previously installed ruby standard library. This behavior has existed since at least ruby 1.8.

If you would like to run the compiled ruby and standard library use make runruby.

If you would like to run benchmarks use make benchmark.

Last I checked, vim did not follow this un-written rule either. Like ruby, vim needs files installed into the expected runtime locations.

Actions

Also available in: Atom PDF

Like0
Like0