[Tioga-users] Fwd: Installing Tioga - compile error

Vincent Fourmond fourmond at gmail.com
Mon Mar 3 14:04:03 EST 2008


  Hello,

Christian Rubio wrote:
> I tried modifying the
> 
> rbconfig.rb
> 
> as you suggested, in fact I modified all the ones I could find in my
> $HOME. I still get the exact same error when I try to compile
> 
> Unfortunately, the machine I am currently working on is not mine and I
> can't make any changes to it.

  You can tweak the default one with the following trick:

  * have an environment variable RUBYLIB pointing to a directory in your
homedir, such as RUBYLIB=$HOME/lib/ruby
  * copy the standard rbconfig.rb file and dump it there, where you can
safely modify it

  Ruby should find $HOME/lib/ruby/rbconfig.rb before the standard one,
and the installation should now work (or at least go somewhat further).
You can make sure your modified version of rbconfig.rb is used by adding
a puts statement at the beginning of it.

  Cheers,

	Vincent


More information about the Tioga-users mailing list