[Rubyinstaller-devel] rip on windows?

Luis Lavena
2009-07-22T19:17:56Z

On Wed, Jul 22, 2009 at 3:58 PM, Jon<jon.forums at gmail.com>
wrote:
>> If you have any idea or already have some solutions that is
>> acceptable for rip developers write it here so we can start a work on
it.
>> I''m willing to contribute to it too.
>
>
> Hi Bosko,
>
> My impression from just a couple of email exchanges at
>
> http://groups.google.com/group/rip-rb/browse_thread/thread/7bf798f3aff72967
>
> was that while they''re interested on keeping things moving
forward, they''re also very much interested in help on Windows issues.
>
> I personally believe that the best thing to do now is join their google
group, give feedback that helps them make the hard tradeoffs, tell your Win32
friends about the project and how cool it could be for Windows, and hopefully
help them find a cross platform way of doing the environment cleverness that
they''re currently doing with symlinks.
>
> For example, does multiruby from ZenTest do some cool things that could
help?
>
> I think that quickly providing them another option to the symlinking before
their code solidifies too much would be a great contribution.
>

The solution to the symlinking is bound to change the templates that
are injected into .profile (for bash) and a batch file that must be
run first on Windows.

As Jon pointed on GitHub here:

http://github.com/defunkt/rip/issuesearch?state=open&q=windows#issue/53

On both environments, .rip/active can be change to be just a pointer
to the right information, thus removing the need of a symlink.

That of course involves some changes to lib/rip/setup.rb

http://github.com/defunkt/rip/blob/master/lib/rip/setup.rb#L271

Then figure out where to put the startup script on Windows to ensure
it works before ruby starts.

Just my two cents.
--
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