Updated (Unofficial) Ruby One-Click Installer

6 views
Skip to first unread message

Luis Lavena

unread,
Jul 1, 2008, 7:18:00 AM7/1/08
to ruby-on-ra...@googlegroups.com, ruby-on-ra...@googlegroups.com
Hello all Rubists that use Windows,

I'll like to share with you the work done by Mike Hodgson:

http://mikehodgson.com/archives/2008/6/30/updated_unofficial_ruby_oneclick_installer

As you can see in the post, the release is based on p114 instead of
p230, but with the patches required to workaround the issues reported
by Apple Security Team and also shown on Ruby website.

I'll like to make some points clear about this, also:

1) Even those bugs has been marked as "vulnerabilities" they don't
expose remote execution of code or any kind of similar problems, just
crash of the application that it's been exposed or allow those
scenarios.

2) This version is based on PATCHLEVEL 114 with patches instead of 230
or above, since P230 is not only broken for some users but the self-
tests (make test-all) do not complete on Windows, as been reported to
ruby-core.

3) Since One-Click Installer involves several packages, compatibility
is top priority, so 114 was the logical option.

4) Even is not official release, I encourage users that feel panic
about p114 or of those vulnerabilities update to Mike release.

5) There was no official release because we are focusing our time on
MinGW build instead, which, again is based on p114.

Ok, enough chit-chat, please send your thanks to Mike for his great
work and contribution!

Regards everybody,
--
Luis Lavena

Kathleen Kennedy

unread,
Jul 1, 2008, 9:25:11 AM7/1/08
to ruby-on-ra...@googlegroups.com
Luis,
I am new to the Ruby Rails Windows forum and would kindly suggest that
when you send an announcement that you take a paragraph or so to say
what it is? I have no idea what this one-click installer is in the
first place.
Thank you,
Kathleen

Bob Ngu

unread,
Jul 1, 2008, 2:02:24 PM7/1/08
to Ruby on Rails Windows
Mike / Luis,
Thanks for this link, much appreciated. Question for you two, I looked
into upgrading from Ruby 1.8.5 to 1.8.6 but decided not to for various
reasons, details here, http://rubyonrailswin.wordpress.com/2008/06/23/upgrading-ruby/

Is there any chance of building a one-click installer that can
preserve the current installed gems?

Kathleen,
One-click installer is the Windows installer for Ruby, unlike
InstantRails it does not include Rails, MySQL, or Apache.

On Jul 1, 4:18 am, Luis Lavena <luislav...@gmail.com> wrote:
> Hello all Rubists that use Windows,
>
> I'll like to share with you the work done by Mike Hodgson:
>
> http://mikehodgson.com/archives/2008/6/30/updated_unofficial_ruby_one...

Luis Lavena

unread,
Jul 1, 2008, 2:16:45 PM7/1/08
to Ruby on Rails Windows
On Jul 1, 3:25 pm, "Kathleen Kennedy" <kathysk...@gmail.com> wrote:
> Luis,
> I am new to the Ruby Rails Windows forum and would kindly suggest that
> when you send an announcement that you take a paragraph or so to say
> what it is? I have no idea what this one-click installer is in the
> first place.

Please apologize kathleen for the lack of introduction, but counting
with 2 millions of downloads and been a Rails on Windows specific
forum One-Click Ruby Installer will be more popular.

One-Click Installer was the first and is the most wide "distribution"
of Ruby on Windows. Started by Andy Hunt a few yeras ago on been
maintained by Curt Hibbs (from O'Really posts and introductory to
Rails) was the first one to allow Windows users take advantage of Ruby
on Windows, bundling extensions that required compilation and other
stuff to ease development in the platform.

If you haven't installed One-Click Installer, then we have two
options: you're using InstantRails, which partially an spin-off One-
Click Installer or you're using jruby builtin with netbeans, but I'm
just guessing.

Anyway, hope the above paragraph provided more information for you and
please apologize any waste of time you invested in goolgling for One-
Click Installer and didn't get good results that describe the project.

> Thank you,
> Kathleen

Regards and have a nice day,
--
Luis Lavena

Luis Lavena

unread,
Jul 1, 2008, 2:22:43 PM7/1/08
to Ruby on Rails Windows
On Jul 1, 8:02 pm, Bob Ngu <bob_...@yahoo.com> wrote:
> Mike / Luis,
> Thanks for this link, much appreciated. Question for you two, I looked
> into upgrading from Ruby 1.8.5 to 1.8.6 but decided not to for various
> reasons, details here,http://rubyonrailswin.wordpress.com/2008/06/23/upgrading-ruby/
>

There are several changes from 1.8.5 that will break your gems, no
matter how easy we make that process. Also the update to latest
rubygems will break projects like mongrel and such that uses pre-
compiled extensions (and thus are platform specific gems).

> Is there any chance of building a one-click installer that can
> preserve the current installed gems?
>

There is no easy way, sorry. First thing first, backup your
installation :-)

The new version of the installer we are working on will honor your
installed gems and will leave them in place, but right now this
installer is not based on that :-(

Jumping from 1.8.5 to 1.8.6 is a difficult step and I suggest you
write a list of your gems and manually install them, since there a lot
ones that will not work under 1.8.6

Regards,
--
Luis Lavena

Bill Walton

unread,
Jul 1, 2008, 2:45:57 PM7/1/08
to ruby-on-ra...@googlegroups.com
Hi Bob,

Bob Ngu wrote:

> Is there any chance of building a one-click installer that can
> preserve the current installed gems?

In the meantime, is there a reason you're not willing / able to just
uninstall / install the versions of the gems you don't / do need?

Bill

Bob Ngu

unread,
Jul 1, 2008, 4:44:37 PM7/1/08
to Ruby on Rails Windows
Luis, best help I have received so far on this issue, thanks. If I am
going to go through the pain, should I wait for 1.8.7 instead?

Bob Ngu

unread,
Jul 1, 2008, 4:47:45 PM7/1/08
to Ruby on Rails Windows
Bill,

The main reason being that I have an existing app (frozen to Rails
1.2.1) but also dependent on htree (which isn't a gem), mongrel, etc.
I would rather not mess with the existing gems/extensions if I can
help it to avoid breaking the existing app. I have upgraded Rails to
2.1 for a brand new app. Perhaps I am going about it the wrong way, if
so let me know.

Luis Lavena

unread,
Jul 1, 2008, 6:20:34 PM7/1/08
to Ruby on Rails Windows
On Jul 1, 10:44 pm, Bob Ngu <bob_...@yahoo.com> wrote:
> Luis, best help I have received so far on this issue, thanks. If I am
> going to go through the pain, should I wait for 1.8.7 instead?
>

if you like sadistic stuff, wait for it. 1.8.7 not only introduced API
changes but several issues for lot of C extensions and gems,
rubyspecs, etc. (I can came up with a list with 20 links)...

If you have production applications with 1.8.6, stick to it. If you
have applications with 1.8.5, look for the way to update to 1.8.6

Regards,
--
Luis Lavena

Luis Lavena

unread,
Jul 1, 2008, 6:24:21 PM7/1/08
to Ruby on Rails Windows
On Jul 1, 10:47 pm, Bob Ngu <bob_...@yahoo.com> wrote:
> Bill,
>
> The main reason being that I have an existing app (frozen to Rails
> 1.2.1) but also dependent on htree (which isn't a gem), mongrel, etc.
> I would rather not mess with the existing gems/extensions if I can
> help it to avoid breaking the existing app. I have upgraded Rails to
> 2.1 for a brand new app. Perhaps I am going about it the wrong way, if
> so let me know.
>

You should ask (as feature request) for htree be ship as a gem.
Mongrel is not a big issue, mostly becasue you can uninstall and grab
the pre-build Windows version without issues.

The only problem you can encounter with RubyGems 1.0 and Rails 1.2 is
the usage of require_gem, which was deprecated too many years ago but
some developers still used it :-P

In any case, I suggest you backup you C:\Ruby folder (using WinRAR or
7-Zip and generate a package) and then start playing with it :-D

I'll look into creating some posts that show the best way to have a
production ready environment that is not stuck on a specific version
(I have 8 different versions of ruby installed in my computer).

Regards,
--
Luis Lavena

Bob Ngu

unread,
Jul 1, 2008, 9:18:12 PM7/1/08
to Ruby on Rails Windows
Well I don't intend to torture myself, so I won't wait for 1.8.7, but
it looks like I need to upgrade to 1.8.6.

Bob Ngu

unread,
Jul 1, 2008, 9:20:05 PM7/1/08
to Ruby on Rails Windows
I think I will just reinstall htree, asking for it as a gem might take
awhile, ha. That would be great if you write some posts that show the
best way to have a production ready environment that is not stuck on a
specific version. Please let us know when you are done. Thanks.

Kathleen Kennedy

unread,
Jul 2, 2008, 8:44:08 AM7/2/08
to ruby-on-ra...@googlegroups.com
Bob,
I have no idea what version of Ruby I'm using other than it is 1.8.
Kathleen
Reply all
Reply to author
Forward
0 new messages