From: Jim Weirich Date: 2005-10-03T19:36:37+09:00 Subject: Re: why can't Ruby load .gem files directly? On Monday 03 October 2005 02:20 am, Joshua Haberman wrote: > 1. �it's not clear to me that gems in my-install-dir will function � > properly if my-install-dir is read-only after the installation. Yes, absolutely. My gem installation directory is read-only except during the install process. > 2. �it's not clear to me whether I can copy my-install-dir to another � > machine, point my GEM_PATH there, and have everything "just � > work" �(Jim gave me a suggestion for achieving this, but it involved � > basically circumventing the "gem" command, implying that this isn't a � > supported use case using the standard software). For libraries that should be sufficient. For gems that contain executable programs, you would need to deal with that. When gems starts supporting a separate data directory, you need to deal with that as well. If gems ever starts allowing post-install scripts, then all bets are off. -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)