Hello there! i''m at the first attempt to rake dist /trunk of a latest prototype from SVN... with a fresh one-click-installed Ruby 1.8.6 (XPsp2) Unhopefully getting: rake aborted! can''t convert nil into String Could it be that easy ? (this deserves a radically lazy programmer oriented answer, uh ?!? =) Alessandro --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hey Alessandro, Alessandro Curci a écrit :> rake aborted! > can''t convert nil into StringI''ll bet you''re using a package for rake instead of the updated Gem. The Rakefile for Prototype requires the latest rake version. So if you''re on Debian for instance, just go: # aptitude purge rake # gem install -y rake (or something like that) ''HTH -- Christophe Porteneuve aka TDD tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Christophe Porteneuve ha scritto:> Hey Alessandro, > > Alessandro Curci a écrit : > >> rake aborted! >> can''t convert nil into String >> > > I''ll bet you''re using a package for rake instead of the updated Gem. > The Rakefile for Prototype requires the latest rake version. So if > you''re on Debian for instance, just go: > > # aptitude purge rake > # gem install -y rake > > (or something like that) > > ''HTH > >Hi Christophe, for the next -few- moments I''ll be still using Win XP so tryed: E:\protoSVN\trunk> gem uninstall rake E:\protoSVN\trunk> gem install --remote rake seems this went fine as with E:\protoSVN\trunk>rake --version it says rake, version 0.7.3 Anyway with: E:\protoSVN\trunk>rake dist --trace (in E:/protoSVN/trunk) rake aborted! can''t convert nil into String ./test/lib/jstest.rb:100:in `join'' ./test/lib/jstest.rb:100 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' E:/protoSVN/trunk/rakefile:37 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in `load'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in `raw_load_rakefile'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1727:in `load_rakefile'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in `load_rakefile'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1710:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 c:/ruby/bin/rake.bat:20:in `load'' c:/ruby/bin/rake.bat:20 if you have or not other clues about what''s wrong with this, Thanks again Christophe! Alessandro gem install --remote rake --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hey Alessandro, That''s odd. I have Ruby 1.8.6 and Rake 0.7.3 and can rake dist the trunk with no trouble... -- Christophe Porteneuve aka TDD tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Christophe Porteneuve ha scritto:> Hey Alessandro, > > That''s odd. I have Ruby 1.8.6 and Rake 0.7.3 and can rake dist the > trunk with no trouble... > >I had to comment rows 100>102 in test/lib/jstest.rb to make it work. The commented code belongs to class KonquerorBrowser, and failed because the ENV[''HOME''] parameter is null. @@configDir = File.join(ENV[''HOME''], ''.kde'', ''share'', ''config'') @@globalConfig = File.join(@@configDir, ''kdeglobals'') @@konquerorConfig = File.join(@@configDir, ''konquerorrc'') As i''m raking with an XP box, this code should be probably skipped. ... do I miss any rake argument or this case isn''t handled yet? Sorry I couldn''t provide a patch, i''m just too new to Ruby. Alessandro --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks for posting your solution. I don''t know Ruby but I like working with the latest prototype.js build. ~jake On May 28, 11:20 am, Alessandro Curci <a.cu...-cMKc6YDe3ZConA0d6jMUrA@public.gmane.org> wrote:> Christophe Porteneuve ha scritto:> Hey Alessandro, > > > That''s odd. I have Ruby 1.8.6 and Rake 0.7.3 and can rake dist the > > trunk with no trouble... > > I had to comment rows 100>102 in test/lib/jstest.rb to make it work. > > The commented code belongs to class KonquerorBrowser, > and failed because the ENV[''HOME''] parameter is null. > > @@configDir = File.join(ENV[''HOME''], ''.kde'', ''share'', ''config'') > @@globalConfig = File.join(@@configDir, ''kdeglobals'') > @@konquerorConfig = File.join(@@configDir, ''konquerorrc'') > > As i''m raking with an XP box, this code should be probably skipped. > > ... do I miss any rake argument or this case isn''t handled yet? > > Sorry I couldn''t provide a patch, i''m just too new to Ruby. > > Alessandro--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
* Alessandro Curci <a.curci-cMKc6YDe3ZConA0d6jMUrA@public.gmane.org> [2007-05-28 09:20]:>The commented code belongs to class KonquerorBrowser, >and failed because the ENV[''HOME''] parameter is null. > > @@configDir = File.join(ENV[''HOME''], ''.kde'', ''share'', ''config'') > @@globalConfig = File.join(@@configDir, ''kdeglobals'') > @@konquerorConfig = File.join(@@configDir, ''konquerorrc'')There are two problems here. The first is that ENV[''HOME''] is nil on Windows. That''s covered by ticket #8463. The second is that KonquerorBrowser#teardown, which uses these files, is called even when Konqueror isn''t supported. I added ticket #8498 with a patch. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks are now to Grant, as with a patch for that a one-click-installed working Ruby is another step nearer reality! Alessandro Jake ha scritto:> Thanks for posting your solution. > > I don''t know Ruby but I like working with the latest prototype.js > build. > > ~jake >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Guys, I am very pleased the solution was found... And it worked for me too... Thanks! Miguel. On 28 maio, 14:42, Alessandro Curci <a.cu...-cMKc6YDe3ZConA0d6jMUrA@public.gmane.org> wrote:> Thanks are now to Grant, as with a patch for that a one-click-installed > working Ruby is another step nearer reality! > > Alessandro > > Jake ha scritto: > > > Thanks for posting your solution. > > > I don''t know Ruby but I like working with the latest prototype.js > > build. > > > ~jake--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Grant Hollingworth ha scritto:> * Alessandro Curci <a.curci-cMKc6YDe3ZConA0d6jMUrA@public.gmane.org> [2007-05-28 09:20]: > >> The commented code belongs to class KonquerorBrowser, >> and failed because the ENV[''HOME''] parameter is null. >> >> @@configDir = File.join(ENV[''HOME''], ''.kde'', ''share'', ''config'') >> @@globalConfig = File.join(@@configDir, ''kdeglobals'') >> @@konquerorConfig = File.join(@@configDir, ''konquerorrc'') >> > > There are two problems here. The first is that ENV[''HOME''] is nil on Windows. That''s covered by ticket #8463. > > The second is that KonquerorBrowser#teardown, which uses these files, is called even when Konqueror isn''t supported. > > I added ticket #8498 with a patch. >I can confirm that applying both the patches to latest trunk solves troubles here. Alessandro --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Both #8463 and #8498 are now comitted to trunk. Best, Thomas Am 01.06.2007 um 12:32 schrieb Alessandro Curci:> > Grant Hollingworth ha scritto: >> * Alessandro Curci <a.curci-cMKc6YDe3ZConA0d6jMUrA@public.gmane.org> [2007-05-28 09:20]: >> >>> The commented code belongs to class KonquerorBrowser, >>> and failed because the ENV[''HOME''] parameter is null. >>> >>> @@configDir = File.join(ENV[''HOME''], ''.kde'', ''share'', ''config'') >>> @@globalConfig = File.join(@@configDir, ''kdeglobals'') >>> @@konquerorConfig = File.join(@@configDir, ''konquerorrc'') >>> >> >> There are two problems here. The first is that ENV[''HOME''] is nil >> on Windows. That''s covered by ticket #8463. >> >> The second is that KonquerorBrowser#teardown, which uses these >> files, is called even when Konqueror isn''t supported. >> >> I added ticket #8498 with a patch. >> > I can confirm that applying both the patches to latest trunk solves > troubles here. > > Alessandro > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---