In this same vein, it sure would be great if on the unixy platforms
the gems packaged were precompiled ones, as a lot of mac os x users
don't have a compiler, and some linux user's don't as well. It's
always annoyed me that rubygems has windows compiled versions but not
unix ones.
On 11/12/2008, at 5:35 AM, _why wrote:
On Wed, Dec 10, 2008 at 09:34:04AM +0000, Simon Heywood wrote:
So, I wondered, as an alternative, if it would be possible for the
Packager
to "Include required gems with app" along the lines of the "Include
Shoes
with your app"?
However, I think platform specific gems might cause a problem here?
This came up a week ago in this thread:
<http://news.gmane.org/find-root.php?message_id=%3c20081203162714.GZ6812%40beekeeper.hobix.com%3e
>
I think the way I'll do it is to download all of the gems for a
specific version and package those up with the app. So
html-scraper.shy will include all the different platform gems.
Before launch, it'll treat the collection of gems as a local
repository.
In the case of an EXE, it'll probably only include the gem for that
platform, unless the user indicates otherwise. (And same for OS X
and Linux packages.)
_why