From jon.forums at gmail.com Tue Sep 1 10:06:11 2009 From: jon.forums at gmail.com (Jon) Date: Tue, 1 Sep 2009 10:06:11 -0400 Subject: [Rubyinstaller-devel] .bat files in vista In-Reply-To: References: Message-ID: <20090901100611.647f1d76.jon.forums@gmail.com> > Anybody else out there have problems running .bat files under vista? > i.e. > > irb(main):001:0> system("ack.bat abc") > => false > irb(main):002:0> `ack.bat abc` > Errno::EACCES: Permission denied - ack.bat abc > from (irb):2:in ``' > from (irb):2 > irb(main):003:0> > > > works XP, fails vista (same .bat file works fine from the command line)? > Thanks. > -r D:\Jon\My Documents\RubyDev>type ack.bat @echo off echo %0 %* both of your examples work on 2Ksp4 for 1.8.6p383 and 1.9.1p243 and 1.9.1p243 on vista home premium sp2, although the vista account was an admin account. jon From gthiesfeld at gmail.com Mon Sep 14 07:43:22 2009 From: gthiesfeld at gmail.com (Gordon Thiesfeld) Date: Mon, 14 Sep 2009 06:43:22 -0500 Subject: [Rubyinstaller-devel] [ANN] rdoc_chm 2.4.1 Released Message-ID: rdoc_chm version 2.4.1 has been released! * <{RDoc_CHM Project Page}[http://github.com/vertiginous/rdoc_chm]> * <{RDoc_CHM Bug Tracker}[http://github.com/vertiginous/rdoc_chm/issues]> A Microsoft Compiled HTML Help generator for {RDoc}[http://rdoc.rubyforge.org/]. Changes: ### 2.4.1 / 2009-09-13 * Two minor enhancements * remove methods from index page, they're listed in the CHM TOC * Loose regex stripping the beginning of method call sequence when the sequence contains an ellipsis From rogerdpack at gmail.com Tue Sep 22 11:54:06 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Tue, 22 Sep 2009 09:54:06 -0600 Subject: [Rubyinstaller-devel] cross compiler compatibility thought Message-ID: Had a thought about the whole "msvc versus mingw binaries compatible" thing... The major rules seem to be: * If you call ALLOC or ALLOC_N, use xfree and not free * Don't call sprintf or printf in an extension, instead use rb_f_sprintf/rb_vsprintf/rb_io_printf So my question is...can you define free to be xfree automatically, and not require any changes? like #define free(x) xfree(x) ? Thanks. -r From rogerdpack at gmail.com Tue Sep 22 17:13:31 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Tue, 22 Sep 2009 15:13:31 -0600 Subject: [Rubyinstaller-devel] icons? Message-ID: Any chance that rubyw's icon can be replaced by the icon of, say, a tk app it is currently running? Thanks. -r From now at bitwi.se Tue Sep 22 18:13:28 2009 From: now at bitwi.se (Nikolai Weibull) Date: Wed, 23 Sep 2009 00:13:28 +0200 Subject: [Rubyinstaller-devel] Ruby Installer for 64-bit Windows? Message-ID: Are there any plans for a Ruby installer for 64-bit Windows, preferably along with a devkit? Has anyone tried putting this together? From rogerdpack at gmail.com Tue Sep 22 18:15:45 2009 From: rogerdpack at gmail.com (Roger Pack) Date: Tue, 22 Sep 2009 16:15:45 -0600 Subject: [Rubyinstaller-devel] icons? In-Reply-To: <71166b3b0909221450g6a5e1603wc3470f713e5ce0a4@mail.gmail.com> References: <71166b3b0909221450g6a5e1603wc3470f713e5ce0a4@mail.gmail.com> Message-ID: > You want to change the icon of the executable,? or the icon shown in a > running process? For later you need Windows api knowledge. Good question--it's the icon shown in the task bar for windows. I assume the api isn't too hard to handle--just wanted to check if ruby/rubyw allowed for such a thing yet or not. Appears that they do [a tk app can change the icon] but when you get multiple tk apps and the icons are grouped into a single, it reverts to the original ruby icon [which is a bit confusing during use]. Thanks! -r From luislavena at gmail.com Tue Sep 22 18:21:42 2009 From: luislavena at gmail.com (Luis Lavena) Date: Wed, 23 Sep 2009 00:21:42 +0200 Subject: [Rubyinstaller-devel] Ruby Installer for 64-bit Windows? In-Reply-To: References: Message-ID: <71166b3b0909221521i46423e1bu548d743c65ee8558@mail.gmail.com> On Wed, Sep 23, 2009 at 12:13 AM, Nikolai Weibull wrote: > Are there any plans for a Ruby installer for 64-bit Windows, > preferably along with a devkit? > Has anyone tried putting this together? Hello Nikolai, The only version of Ruby that supports compilation for x64 is 1.9.x Yes, there are plans, which I'm partially working as a side playground, but no official or timeline planned. Lot of things needs to be fixed so don't expect that happen before 1.9.2 get released on December. I'm using mingw-w64 project for it, but still lot of things to be ironed out in Ruby itself to be production quality. I've CC'ed the Google Group, which I recommend you join instead of old RF mailing list: http://groups.google.com/group/rubyinstaller Regards, -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry From luislavena at gmail.com Tue Sep 22 18:24:44 2009 From: luislavena at gmail.com (Luis Lavena) Date: Wed, 23 Sep 2009 00:24:44 +0200 Subject: [Rubyinstaller-devel] cross compiler compatibility thought In-Reply-To: References: Message-ID: <71166b3b0909221524g6d6079bcx14d873c1a4334345@mail.gmail.com> On Tue, Sep 22, 2009 at 5:54 PM, Roger Pack wrote: > Had a thought about the whole "msvc versus mingw binaries compatible" thing... > > The major rules seem to be: > > * If you call ALLOC or ALLOC_N, use xfree and not free > * Don't call sprintf or printf in an extension, instead use > rb_f_sprintf/rb_vsprintf/rb_io_printf > Good practices, lot of libraries don't follow that. > So my question is...can you define free to be xfree automatically, and > not require any changes? > like > #define free(x) xfree(x) > ? Not this topic again... please. There are other stuff like errno that cannot be shared or redefined. We had this conversation back in 2006, 2007, 2008 and beginning of this year at Ruby-core. Also, Ruby-core is not going to allow that change, simply because it is intrusive into the CRT definitions. Cheers, -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry From jon.forums at gmail.com Wed Sep 23 09:48:12 2009 From: jon.forums at gmail.com (Jon) Date: Wed, 23 Sep 2009 09:48:12 -0400 Subject: [Rubyinstaller-devel] Who's got installer PATH cleanup? Message-ID: <20090923094812.a9912472.jon.forums@gmail.com> Anyone chasing this down in the current modpath.iss code? If I hear nothing by the end of the day, I'll start looking into it in prep for another round of fake installer testing. Jon From mikael at iced.se Wed Sep 30 07:44:26 2009 From: mikael at iced.se (Mikael Rudberg) Date: Wed, 30 Sep 2009 13:44:26 +0200 Subject: [Rubyinstaller-devel] Installing libxml-ruby gem on mingw32 In-Reply-To: <71166b3b0909221524g6d6079bcx14d873c1a4334345@mail.gmail.com> References: <71166b3b0909221524g6d6079bcx14d873c1a4334345@mail.gmail.com> Message-ID: <4AC3449A.8000401@iced.se> Hi Sorry if this is a bit of-topic for the actual installer. I wondered if anyone managed to get the libxml-ruby gem to compile on the mingw32 version of ruby and if so how to go by doing it? I've managed to get the compile a lot of gems with native extensions but libxml-ruby is complaining when i run "gem install libxml-ruby" i get "extconf failure: need zlib" I use : rubyinstaller-1.8.6-p383-preview1 and devkit-3.4.5r3-20090411 Any suggestions are highly appreciated /Mikael From luislavena at gmail.com Wed Sep 30 12:30:28 2009 From: luislavena at gmail.com (Luis Lavena) Date: Wed, 30 Sep 2009 18:30:28 +0200 Subject: [Rubyinstaller-devel] Installing libxml-ruby gem on mingw32 In-Reply-To: <4AC3449A.8000401@iced.se> References: <71166b3b0909221524g6d6079bcx14d873c1a4334345@mail.gmail.com> <4AC3449A.8000401@iced.se> Message-ID: <71166b3b0909300930x7bf6f0bbn384d6f72be9042d1@mail.gmail.com> On Wed, Sep 30, 2009 at 1:44 PM, Mikael Rudberg wrote: > Hi > > Sorry if this is a bit of-topic for the actual installer. I wondered if > anyone managed to get the libxml-ruby gem to compile on the mingw32 version > of ruby and if so how to go by doing it? > > I've managed to get the compile a lot of gems with native extensions but > libxml-ruby is complaining when i run "gem install libxml-ruby" i get > "extconf failure: need zlib" > > I use : rubyinstaller-1.8.6-p383-preview1 and devkit-3.4.5r3-20090411 > > Any suggestions are highly appreciated > libxml-ruby needs access to zlib headers and libraries to properly compile. I'm not sure how that library has been built, but if this is the library from Aaron Patterson, you could ping him and request a mingw32 version, since he is using rake-compiler to generate the mswin32 version of it. Regards, -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry