Jeffrey Moss
1/26/2005 11:21:00 PM
Thanks for the info, I will set my environment like you suggested Dick.
However...
I still think configuration options for automatically installing packages,
whether in the users home directory, the site wide gems directory or a
special webserver directory, would be extremely useful. I was saying it
would make the app more useful Dick, not my life (which is easy enough
already!)
-Jeff
----- Original Message -----
From: "Martijn Hoogendoorn" <m.hoogendoorn@home.nl>
To: "ruby-talk ML" <ruby-talk@ruby-lang.org>
Sent: Wednesday, January 26, 2005 3:36 PM
Subject: Re: Gems package manager
> Op woensdag 26 januari 2005 23:12, schreef Jeffrey Moss:
>> If you have to use require_gem to load your library, it aught to have a
>> config option to download the most recent version automatically as your
>> script is executing. That would make it 10x more useful to me.
> Most programs are not run with sufficient priviliges to write in the
> system-wide Ruby directory. Perhaps if you could install gems per user,
> without the need to install Ruby in your home directory.
>
>> There should also be a config option to create symbolic links (or
>> shortcuts) to the most recently installed packages in the site_ruby
>> directory when you install a gem, so that you can skip the require_gem
>> and
>> instead just require directly from site_ruby.
> As of RubyGems 0.7.0 by default a stub is installed, so you can just use:
>
> require 'somelib'
>
> instead of:
>
> require 'rubygems'
> require_gem 'somelib'
>
> However, only when using require_gem can you request a specific version,
> as
> in:
>
> require_gem 'somelib', '>= 0.1.0'
>
> met vriendelijke groet,
> Martijn Hoogendoorn.
>