From: transfire@... Date: 2006-06-16T03:10:37+09:00 Subject: Re: running applications installed from gems Mark Volkmann wrote: > On 6/15/06, Austin Ziegler wrote: > > On 6/15/06, Mark Volkmann wrote: > > > What I'm really after is a simple way for a non-programmer to install > > > and run a Ruby application that is packaged as a gem. > > > > It's already done. > > > > Seriously. Try it with Ruwiki or Text::Hyphen. Or PDF::Writer. In > > PDF::Writer, a stub for the executable "techbook" is installed > > appropriately. It will run the latest version of the software by > > default, but you can select a specific version, too. > > Sorry to be dense about this, but *how* does the user run the application? > > I think what you're suggesting is that the user > 1) runs "gem install app-name" > 2) navigates to the bin directory of the gem > 3) runs a script found there > > Is this what you're suggesting? Hi Mark, When you install a gem, Gems will place executables to the appropriate location to be called from the command line. You need not do anything special. Are you using Windows by chance? While I'm sure it basically works the same way there, I'm just not sure how it handles it. In Linux executables will be created in /usr/bin that load up the gem's bin/ file. HTH, T.