From: Curt Hibbs Date: 2005-11-01T23:33:11+09:00 Subject: Re: Problem installing FxRuby I didn't really read this thread, but one thing below caught my eye. Running "gem uninstall rails" WILL NOT clean up your Rails installation. This is because the gem named "rails" is a meta-package that merely causes about 6 other gems to be installed because of dependencies. When you "gem uninstall rails" this only uninstalls the meta-package, but all of the other parts of rails (like ActiveRecord, ActionPack, etc.) are still there. Instead, run "gem list" to see what is installed, and uninstall each component separately with its own "gem uninstall". Curt On 11/1/05, Richard Lionheart wrote: > Hi Lyle, > > Still got a problem. I cleaned up my system with: > -- gem uninstall rails > -- gem uninstall fxruby > -- Control Panel | Add/Remove Pgms: Ruby [K:\_Utilities\Ruby_1.8.2-15 is > now empty] > -- Reinstallation of Ruby into K:\_Utilities\Ruby_1.8.2-15\ruby [Note: one > extra level than before] > > Then I ran "gem update" with option "1, fxruby 1.4.2 (ruby)". Update ran > for a few minutes and then failed with: > ======== Command window output from 'gem update' ============ > extconf.rb:30:in `find_installed_fox_version': couldn't find FOX header > files (RuntimeError) > from extconf.rb:155 > ERROR: While executing gem ... (RuntimeError) > ERROR: Failed to build gem native extension. > Gem files will remain installed in > K:/_Utilities/Ruby_1.8.2-15/ruby/lib/ruby/gems/1.8/gems/fxruby-1.4.2 for > inspection. > ruby extconf.rb update\n > Results logged to > K:/_Utilities/Ruby_1.8.2-15/ruby/lib/ruby/gems/1.8/gems/fxruby-1.4.2/ext/fox14/gem_make.out > =================================================== > > When I encountered this failure last time, I tried to install FxRuby using > FXRuby-1.4.2-ruby182.exe. > > Can line 1 in the above output be referring to the *.h files stored in the > "include" subdirectory of the "gem_make.out" file cited in the last line of > the above output? That file is a zip file containing a slew of *.cpp files > plus a subdirectory of *.h files. > > I also found a number of directories which had "fox" in their names or in > the name of subdirectories or files (all subordinate to > K:/_Utilities/Ruby_1.8.2-15/ruby/lib/ruby): > ========== "FOX related subdirectories =========== > freeride\plugins\rubyide_fox_gui > lib\ruby\1.8\test\unit\ui\fox > lib\ruby\gems\1.8\doc\fxri-0.3.2\rdoc\classes > lib\ruby\gems\1.8\doc\fxri-0.3.2\rdoc\classes\Packet_Item > lib\ruby\gems\1.8\doc\fxri-0.3.2\rdoc\files\lib > lib\ruby\gems\1.8\gems\fxri-0.3.2\lib\FoxDisplayer.rb > lib\ruby\gems\1.8\gems\fxruby-1.2.6-mswin32\examples\icons > lib\ruby\gems\1.8\gems\fxruby-1.2.6-mswin32\ext\fox12 > lib\ruby\gems\1.8\gems\fxruby-1.2.6-mswin32\ext\fox12\fox12.so [A file] > lib\ruby\gems\1.8\gems\fxruby-1.2.6-mswin32\lib\fox12 > lib\ruby\gems\1.8\gems\fxruby-1.4.2\examples\icons > lib\ruby\gems\1.8\gems\fxruby-1.4.2\ext\fox14 > lib\ruby\gems\1.8\gems\fxruby-1.4.2\lib\fox14 > ======================================== > > Maybe the problem was with my choice of option 1. Here's a list of the > options: > ============ Optional "gems" ================ > 1. fxruby 1.4.2 (ruby) > 2. fxruby 1.4.2 (mswin32) > 3. fxruby 1.4.1 (mswin32) > 4. fxruby 1.4.1 (ruby) > 5. fxruby 1.4.0 (ruby) > 6. fxruby 1.2.6 (ruby) > 7. fxruby 1.2.6 (mswin32) > 8. fxruby 1.2.5 (mswin32) > 9. fxruby 1.2.5 (ruby) > 10. fxruby 1.2.4 (ruby) > 11. fxruby 1.2.4 (mswin32) > 12. fxruby 1.2.3 (mswin32) > 13. fxruby 1.2.3 (ruby) > 14. fxruby 1.2.2 (mswin32) > 15. fxruby 1.2.2 (ruby) > 16. fxruby 1.2.1 (mswin32) > 17. fxruby 1.2.1 (ruby) > 18. Cancel installation > ======================================= > > Maybe I should forget about "gem update" and instead install FxRuby from > FXRuby-1.4.2-ruby182.exe. But if so, where should Fox be installed within > the Ruby hierarchy? > > I hope I didn't overwhelm you with details in this message, but I'd really > like to try Ruby on Rails over FxRuby. > > Regards, > Richard > > > >