[MacRuby-devel] script to download and install MacRuby nightly builds

Matt Aimonetti mattaimonetti at gmail.com
Thu Apr 22 00:34:57 PDT 2010


Cool, thanks Ernie,

- Matt

On Wed, Apr 21, 2010 at 10:41 AM, Ernest N. Prabhakar, Ph.D. <
prabhaka at apple.com> wrote:

> Hi all,
>
> On Apr 13, 2010, at 8:25 PM, Laurent Sansonetti wrote:
> >
> > Nightly builds are now available at the following address:
> >
> > http://www.macruby.org/files/nightlies/
> >
> > The latest nightly build is always available from this shortcut:
> >
> > http://www.macruby.org/files/nightlies/macruby_nightly-latest.pkg
>
> I've updated my auto-install script to use the new location:
>
> http://svn.macosforge.org/repository/ruby/MacRuby/trunk/tool/macruby_get_nightly.command
>
> ---
> #!/bin/sh
> # Download and install the latest version of MacRuby
> URL=http://www.macruby.org/files/nightlies/
> PKG=macruby_nightly-latest.pkg
> DOWNLOAD_DIR=~/Downloads
> DESTROOT=/
>
> cd ${DOWNLOAD_DIR}
> rm -f ${PKG}
> echo "Downloading ${URL}/${PKG} into ${DOWNLOAD_DIR}"
> curl -O ${URL}/${PKG}
> sudo installer -pkg ${PKG}  -target ${DESTROOT}
> ---
>
> To install the script, you can do:
> ---
> cd ~/Downloads
> curl -O
> http://svn.macosforge.org/repository/ruby/MacRuby/trunk/tool/macruby_get_nightly.command
> chmod a+x !$:t
> # Then run it
> open !$
> ---
>
> Hope this helps!
>
> -- Ernie P.
>
>
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100422/559fcfb4/attachment.html>


More information about the MacRuby-devel mailing list