Login  Register

Re: More problems with QuantLib-Ruby

Posted by Liguo Song on Nov 04, 2003; 10:17pm
URL: http://quantlib.414.s1.nabble.com/More-problems-with-QuantLib-Ruby-tp10416p10418.html

I encountered another problem with QuantLib-Ruby with ruby-1.8.

In the setup.rb, there is
    Config::CONFIG["rubylibdir"].gsub("^#{oldPrefix}","")
This line of code will give the following warning during the
installation process:
    warning: string pattern instead of regexp; metacharacters no
    longer effective

The effect of this problem is that the oldPrefix is not cleared as
intended. It works OK with ruby-1.6 but not ruby-1.8. Some changes in
ruby must caused this problem. Can any experts in ruby offer any
solution for this?

Thanks.


Liguo (Leo)