Nikolai Weibull
2009-Mar-18 15:04 UTC
[Rubyinstaller-devel] Current Zlib module hangs Ruby
I just downloaded, built, and installed the one-click installer and it seems that require ''zlib'' (as done by, for example, RubyGems) causes Ruby to look up. I see no reason for this behavior. Copying over zlib.so from the old installer seems to work fine. Also, rubygems_mingw/text.rb doesn''t get included in the installer.
On Wed, Mar 18, 2009 at 12:04 PM, Nikolai Weibull <now at bitwi.se> wrote:> I just downloaded, built, and installed the one-click installer and it > seems that >This one, right? http://github.com/oneclick/rubyinstaller> require ''zlib'' > > (as done by, for example, RubyGems) causes Ruby to look up. ?I see no > reason for this behavior. ?Copying over zlib.so from the old installer > seems to work fine.I''ll investigate what happens on this. Perhaps an older version of zlib1.dll is interfering.> Also, rubygems_mingw/text.rb doesn''t get included in the installer.rubygems has no text.rb file I''m aware of. And for the MSI installer contain those files, the WiX XML files need to be updated. -- 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
Nikolai Weibull
2009-Mar-18 17:52 UTC
[Rubyinstaller-devel] Current Zlib module hangs Ruby
On Wed, Mar 18, 2009 at 17:26, Luis Lavena <luislavena at gmail.com> wrote:> On Wed, Mar 18, 2009 at 12:04 PM, Nikolai Weibull <now at bitwi.se> wrote:>> I just downloaded, built, and installed the one-click installer and it >> seems that> This one, right? > > http://github.com/oneclick/rubyinstallerYes.>> Also, rubygems_mingw/text.rb doesn''t get included in the installer. > > rubygems has no text.rb file I''m aware of.It does now. I cloned the repository (sorry about using the word "downloaded" earlier), did % rake CHECKOUT=1 % rake package and then installed using the generated msi. I should note that in the RubyGems that this downloaded there was a problem with the --destdir command line option to setup.rb, but the RubyGems developers seem to be aware of the problem and are hopefully going to fix it. Perhaps I shouldn''t have done CHECKOUT=1?
do you have other versions of zlib*.dll on your system perhaps? -=r On Wed, Mar 18, 2009 at 9:04 AM, Nikolai Weibull <now at bitwi.se> wrote:> I just downloaded, built, and installed the one-click installer and it > seems that > > require ''zlib'' > > (as done by, for example, RubyGems) causes Ruby to look up. ?I see no > reason for this behavior. ?Copying over zlib.so from the old installer > seems to work fine. > > Also, rubygems_mingw/text.rb doesn''t get included in the installer. > _______________________________________________ > Rubyinstaller-devel mailing list > Rubyinstaller-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubyinstaller-devel >
On Wed, Mar 18, 2009 at 2:52 PM, Nikolai Weibull <now at bitwi.se> wrote:> On Wed, Mar 18, 2009 at 17:26, Luis Lavena <luislavena at gmail.com> wrote: > >> On Wed, Mar 18, 2009 at 12:04 PM, Nikolai Weibull <now at bitwi.se> wrote: > >>> I just downloaded, built, and installed the one-click installer and it >>> seems that > >> This one, right? >> >> http://github.com/oneclick/rubyinstaller > > Yes. >Cool.>>> Also, rubygems_mingw/text.rb doesn''t get included in the installer. >> >> rubygems has no text.rb file I''m aware of. > > It does now. ?I cloned the repository (sorry about using the word > "downloaded" earlier), did >No, there is no text.rb file in RubyGems repository: http://rubygems.rubyforge.org/svn/trunk/> % rake CHECKOUT=1 > % rake package > > and then installed using the generated msi. ?I should note that in the > RubyGems that this downloaded there was a problem with the --destdir > command line option to setup.rb, but the RubyGems developers seem to > be aware of the problem and are hopefully going to fix it. > > Perhaps I shouldn''t have done CHECKOUT=1?There are a lot of moving parts that need resync, RubyGems, Ruby and others needs to be reviewed. Will have time over this weekend to resync master. I recommend not building the Microsoft Installer (MSI) package, since the files changed are not being included in the manifest. Just copy rubygems_mingw over ruby_mingw and you have a ruby version to relocate to any path you want. -- 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
Nikolai Weibull
2009-Mar-19 19:54 UTC
[Rubyinstaller-devel] Current Zlib module hangs Ruby
On Thu, Mar 19, 2009 at 19:58, Luis Lavena <luislavena at gmail.com> wrote:> No, there is no text.rb file in RubyGems repository: > > http://rubygems.rubyforge.org/svn/trunk/Well it certainly did here. Perhaps a bogus rubygems version got pulled for some reason. As I said, there were a lot of issues with the rubygems that I got by the commands below:>> % rake CHECKOUT=1 >> % rake package> There are a lot of moving parts that need resync, RubyGems, Ruby and > others needs to be reviewed.> Just copy rubygems_mingw over ruby_mingw and you have a ruby version > to relocate to any path you want.That''s what I wound up doing :-) Anyway, I''ve gotten most things set up and am looking to get a win32 release of character-encodings out the door soon. The new ruby installer really looks promising. So far I have the feeling that the mingw-based build is one or two times faster than the latest ruby installer. Thanks!
On Thu, Mar 19, 2009 at 4:54 PM, Nikolai Weibull <now at bitwi.se> wrote:> On Thu, Mar 19, 2009 at 19:58, Luis Lavena <luislavena at gmail.com> wrote: > >> No, there is no text.rb file in RubyGems repository: >> >> http://rubygems.rubyforge.org/svn/trunk/ > > Well it certainly did here. ?Perhaps a bogus rubygems version got > pulled for some reason. ?As I said, there were a lot of issues with > the rubygems that I got by the commands below: > >>> % rake CHECKOUT=1 >>> % rake package >Definitely I''ll take a look to that, sorry for the problems.>> There are a lot of moving parts that need resync, RubyGems, Ruby and >> others needs to be reviewed. > >> Just copy rubygems_mingw over ruby_mingw and you have a ruby version >> to relocate to any path you want. > > That''s what I wound up doing :-) >:-P> Anyway, I''ve gotten most things set up and am looking to get a win32 > release of character-encodings out the door soon. ?The new ruby > installer really looks promising. ?So far I have the feeling that the > mingw-based build is one or two times faster than the latest ruby > installer. ?Thanks!character-encodings you said? great! I hear some guys looking for that gem! :-D Had that in my todo list for the past weeks, but job took over my free time (and I was traveling a lot). Keep us posted and let us know anything that we can do to help you on this. 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
Nikolai Weibull
2009-Mar-19 21:26 UTC
[Rubyinstaller-devel] Current Zlib module hangs Ruby
On Thu, Mar 19, 2009 at 22:06, Luis Lavena <luislavena at gmail.com> wrote:> On Thu, Mar 19, 2009 at 4:54 PM, Nikolai Weibull <now at bitwi.se> wrote:>> Well it certainly did here. ?Perhaps a bogus rubygems version got >> pulled for some reason. ?As I said, there were a lot of issues with >> the rubygems that I got by the commands below:> Definitely I''ll take a look to that, sorry for the problems.I''m guessing that the rubygems devs are to blame.>> Anyway, I''ve gotten most things set up and am looking to get a win32 >> release of character-encodings out the door soon.> character-encodings you said? great! > > I hear some guys looking for that gem! :-D > > Had that in my todo list for the past weeks, but job took over my free > time (and I was traveling a lot).Yeah, he''s been mailing me for a while now. I caught the flu and also had to catch up with ?real? work.> Keep us posted and let us know anything that we can do to help you on this.Thanks; will do.