Holger Arndt
1/12/2006 6:57:00 PM
Kilivor Kante schrieb:
> I am using Ruby 1.8.2 (2004-12-25) [i386-mswin32] on Windows XP.
>
> fxri working perfectly before installing Fxruby. Then, after
> installing, stops working:
>
> ...
>
> E:\Ruby>gem install fxruby-1.4.2-mswin32.gem
I had this problem in the past too. The installed fxri needs fxruby
1.2.x. You have two options:
1. Remove fxruby 1.4.x and (re-)install fxruby 1.2.6. fxri does not work
if both versions are installed!
2. Manually patch the gemspec file for fxri. Edit
<ruby-base-dir>\lib\ruby\gems\1.8\specifications\fxri-0.3.2.gemspec
with a text editor. Near the end change the line
s.add_dependency(%q<fxruby>, [">= 1.2.0"])
to
s.add_dependency(%q<fxruby>, [">= 1.2.0", "< 1.3"])
After this, fxri works with the previously installed fxruby 1.2.x and
ignores newer versions.
Be aware that the FreeRide which is included in the One-click-installer
does depend on fxruby 1.2.x too. For freeride to work again you would
have to change several files in
<ruby-base-dir>\freeride\freebase\lib\freebase\. I haven't done or
checked this as I don't use freeride.
Holger