Lyle Johnson
2006-Sep-21 14:56 UTC
[fxruby-users] [Rubygems-developers] Can''t install fxruby via rubygems 0.9.0 on Windows XP
On 9/21/06, Tom Copeland <tom at infoether.com> wrote:> Hm, both those win32 gems seem to be on all the mirrors:<snip> Yeah, the files are there. Is it a naming convention thing? What I mean is, is the fact that the gems are named: fxruby-1.4.7-ruby1.8.4-mswin32.gem fxruby-1.4.7-ruby1.8.5-mswin32.gem and: fxruby-1.6.2-ruby1.8.4-mswin32.gem fxruby-1.6.2-ruby1.8.5-mswin32.gem Causing the gem server code some grief?
Lyle Johnson
2006-Sep-22 13:24 UTC
[fxruby-users] [Rubygems-developers] Can''t install fxruby via rubygems 0.9.0 on Windows XP
On 9/21/06, Tom Copeland <tom at infoether.com> wrote:> Hm, maybe... I guess it depends on where the gem HTTP client expects to > find those dashes. Ah ha... now that I check the logs, here''s what''s > being requested: > > GET /gems/fxruby-1.6.2-mswin32.gem > > That''s why those 404 errors are popping up...OK, so it is a naming convention thing. The Gem server apparently inspected the Gem spec for that gem (in order to identify its version number and platform) but didn''t bother to remember its correct file name. Oh well. Although I am of the opinion that this is a RubyGems problem, I''ll go ahead and rename one of the gems in this style and see if that fixes the problem.
Lyle Johnson
2006-Sep-22 13:37 UTC
[fxruby-users] [Rubygems-developers] Can''t install fxruby via rubygems 0.9.0 on Windows XP
On 9/21/06, Wes Gamble <weyus at att.net> wrote:> I uninstalled fxruby using "gem uninstall" and attempted to reinstall > using "gem install" and I still get the 404 error. > > 1) Is there a way for me to update the list of mirrors - I assume that > that is all handled server-side so probably not. > > 2) Is there some debug mode that I can run gem install in, so that I can > see which server and/or file is being looked for?Per Tom Copeland, the problem wasn''t that the file wasn''t there; the problem was that the RubyGems server code was looking for it under a different file name. I will be filing a bug report about that, but in the meantime I''ve renamed one of the Gem files so that the Gem server will be able to serve it up. The file "fxruby-1.6.2-mswin32.gem" should now be served-up properly when you type: gem [install | update] fxruby Note that this gem was built against Ruby 1.8.5, which has at least one bug that impacts FXRuby. If you need a gem for FXRuby-1.6.2 that was built against Ruby 1.8.4, you''ll have to download the Gem file directly from the FXRuby project page and install it locally. Hope this helps, Lyle
Axel Etzold
2006-Sep-22 19:15 UTC
[fxruby-users] A problem about updating an FXRuby program layout recursively
Dear all, I have a design question: assume we have an FXText field containing a sentence The <best> Ruby version is the current one. with "best" highlighted, and there is a choice of words | most wonderful |, | cutest |, | most effective | to replace "best". To do the replacement, I want to just click on any of three buttons. I want to iterate through all of the words of the sentence and I only know the choice of words for replacement at runtime. Now, if I click on the | most wonderful | - button, I want to have a sentence The most wonderful version of <Ruby> is the current one. i.e., "best" gets changed to "most wonderful", the next word Ruby gets highlighted, and there should be a choice of buttons of words replacing "Ruby", like | the computing language invented by Matz |, which should be shown instead of | most wonderful |, | cutest |, | most effective |. I have written a method with a lot of evals in it, which calls itself, when the user clicks on a button, and updates its arguments (move to the next word etc.) to do the trick of updating the buttons, but I can only show the first set of buttons and replace the first word - the new buttons for the next set of replacement words don''t appear. I rather randomly tried to call "app.update, app.recalc" etc., but none worked. What am I missing ? Thank you very much Best regards Axel -- NEU: GMX DSL Sofort-Start-Set - blitzschnell ins Internet! Echte DSL-Flatrate ab 0,- Euro* http://www.gmx.net/de/go/dsl