Hi folks, I''d like to run the Mongrel prerelease (0.3.13.4 prerelease) and mongrel_cluster 0.2.1 on my shared host (which doesn''t want to install prerelease software for all to use). I can install the gems in my own directory, and run mongrel 0.3.13.4 with --prefix just fine. However, I think due to the GemPlugin structure, even my new mongrel_rails loads up mongrel_cluster 0.2.0, which doesn''t support -- prefix. If I try telling rubygems to ignore the other installed gems (in the main gem structure), it loses track of itself (gem environment fails, for example). Ideas? Thanks, Asa ----------------- Work is love made visible ----------------- Asa S. Hopkins MC 266-33, Pasadena, CA 91125 asa at caltech.edu http://www.its.caltech.edu/~asa/ ----------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060825/b3f88431/attachment-0001.html
On Fri, 2006-08-25 at 15:08 -0700, Asa Hopkins wrote:> Hi folks, > > > I''d like to run the Mongrel prerelease (0.3.13.4 prerelease) and > mongrel_cluster 0.2.1 on my shared host (which doesn''t want to install > prerelease software for all to use). I can install the gems in my own > directory, and run mongrel 0.3.13.4 with --prefix just fine. However, > I think due to the GemPlugin structure, even my new mongrel_rails > loads up mongrel_cluster 0.2.0, which doesn''t support --prefix. If I > try telling rubygems to ignore the other installed gems (in the main > gem structure), it loses track of itself (gem environment fails, for > example).I vaguely remember that you can change where rubygems "lives" with environment variables. But, if you''ve got shell access and can build stuff yourself, why not just build your own complete kit? Grab the ruby source and configure it to install into your home directory then change your PATH in your .bashrc (or whatever shell you want). Then, you can install anything you want independently. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
On 8/25/06, Zed Shaw <zedshaw at zedshaw.com> wrote:> On Fri, 2006-08-25 at 15:08 -0700, Asa Hopkins wrote: > > Hi folks, > > > > > > I''d like to run the Mongrel prerelease (0.3.13.4 prerelease) and > > mongrel_cluster 0.2.1 on my shared host (which doesn''t want to install > > prerelease software for all to use). I can install the gems in my own > > directory, and run mongrel 0.3.13.4 with --prefix just fine. However, > > I think due to the GemPlugin structure, even my new mongrel_rails > > loads up mongrel_cluster 0.2.0, which doesn''t support --prefix. If I > > try telling rubygems to ignore the other installed gems (in the main > > gem structure), it loses track of itself (gem environment fails, for > > example). > > I vaguely remember that you can change where rubygems "lives" with > environment variables. > > But, if you''ve got shell access and can build stuff yourself, why not > just build your own complete kit? Grab the ruby source and configure it > to install into your home directory then change your PATH in > your .bashrc (or whatever shell you want). Then, you can install > anything you want independently.FWIW, I ran into this a month or so back. It''s actually pretty straightforward: http://scottstuff.net/blog/articles/2006/07/28/how-to-install-gems-when-youre-not-root Scott