librelist archives

« back to archive

New Windows Build for Red Shoes

New Windows Build for Red Shoes

From:
Steve Klabnik
Date:
2011-02-24 @ 03:23
Hey guys-

Soooooooo I've spent all of my free time since Saturday (and recently being
unemployed, I have a lot of that...) re-doing the build process on Windows.

Why, you may ask? Well, after talking with Luis Lavena, he recommended that
before we dig into a 1.9.2 based Shoes, we update the actual process,
because frankly, it's really complicated for almost no reason.

Well, when I say 'no reason,' what I mean is 'our version of RubyInstaller
hasn't kept up with upstream for almost two years.' So... I fixed that.
Check it:

https://github.com/shoes/rubyinstaller

This goes with https://github.com/shoes/shoes/tree/feature/1.9.2

To try it out:

$ git clone https://github.com/shoes/rubyinstaller.git
$ cd rubyinstaller\sandbox
$ git clone https://github.com/shoes/shoes.git
$ cd shoes
$ git checkout feature/1.9.2
$ cd ..\..
$ rake shoes

Once I make a few more changes, the Shoes build process on Windows will
simply be

$ git clone https://github.com/shoes/rubyinstaller.git
$ cd rubyinstaller
$ rake shoes

That's it! It does all the heavy lifting for you.

Now, I've posted to the RubyInstaller mailing list to get more feedback
about this, because frankly, parts of what I did are horrifying. And it
doesn't even build a Shoes that works, primarily due to me not taking care
of the Cario deps yet.

But that's what I've been up to. If anyone else is interested/wants to
help/whatever, let me know.

Re: [shoes] New Windows Build for Red Shoes

From:
Cecil Coupe
Date:
2011-02-24 @ 04:03
Between jobs and writing Windows code? Shudder. You're good man. 

I'm a bit confused. Are the terminal commands to be entered in the
Windows/MingW32 command line or will it work with OSX/Linux? 

Which version of Windows in a VM should I run if I wanted to try it out?

On Wed, 2011-02-23 at 22:23 -0500, Steve Klabnik wrote:
> Hey guys-
> 
> 
> Soooooooo I've spent all of my free time since Saturday (and recently
> being unemployed, I have a lot of that...) re-doing the build process
> on Windows.
> 
> 
> Why, you may ask? Well, after talking with Luis Lavena,
> he recommended that before we dig into a 1.9.2 based Shoes, we update
> the actual process, because frankly, it's really complicated for
> almost no reason.
> 
> 
> Well, when I say 'no reason,' what I mean is 'our version of
> RubyInstaller hasn't kept up with upstream for almost two years.'
> So... I fixed that. Check it:
> 
> 
> https://github.com/shoes/rubyinstaller
> 
> 
> This goes with https://github.com/shoes/shoes/tree/feature/1.9.2
> 
> 
> To try it out:
> 
> 
> $ git clone https://github.com/shoes/rubyinstaller.git
> $ cd rubyinstaller\sandbox
> $ git clone https://github.com/shoes/shoes.git
> $ cd shoes
> $ git checkout feature/1.9.2
> $ cd ..\..
> $ rake shoes
> 
> 
> Once I make a few more changes, the Shoes build process on Windows
> will simply be
> 
> 
> $ git clone https://github.com/shoes/rubyinstaller.git
> $ cd rubyinstaller
> $ rake shoes
> 
> 
> That's it! It does all the heavy lifting for you.
> 
> 
> Now, I've posted to the RubyInstaller mailing list to get more
> feedback about this, because frankly, parts of what I did are
> horrifying. And it doesn't even build a Shoes that works, primarily
> due to me not taking care of the Cario deps yet.
> 
> 
> But that's what I've been up to. If anyone else is interested/wants to
> help/whatever, let me know.

Re: [shoes] New Windows Build for Red Shoes

From:
Steve Klabnik
Date:
2011-02-24 @ 05:45
>
> I'm a bit confused. Are the terminal commands to be entered in the
> Windows/MingW32 command line or will it work with OSX/Linux?
>

Sorry. Some details I forgot: You'll need a system ruby, so go grab
RubyInstaller:
http://rubyforge.org/frs/download.php/74298/rubyinstaller-1.9.2-p180.exe

You'll probably also want msysgit: http://code.google.com/p/msysgit/

To do the git clone-s, do it from git bash. do the rakes from a 'start a
command line with ruby' that RubyInstaller gives you.


> Which version of Windows in a VM should I run if I wanted to try it out?


Anything > XP.

Re: [shoes] New Windows Build for Red Shoes

From:
ashbb
Date:
2011-02-24 @ 14:35
Hi Steve,

Sorry, it might be my fault...

I should not have used the name `rubyinstaller`.

At first, ender672 forked from oneclick/rubyinstaller.
But he customized the code for building Shoes.
At that point, it became a different thing.

ashbb

Re: [shoes] New Windows Build for Red Shoes

From:
Steve Klabnik
Date:
2011-02-24 @ 16:25
No ash, it's not your fault. It's just that ender672 made a bunch of changes
and then didn't contribute them back upstream, so it was really hard to
update everything.

On the plus side, Luis is really supportive and has been helping me out a
lot. :)