From: Tony Meier Date: 2010-01-27T00:19:34+09:00 Subject: Installing Ruby Application What's the best way to install a Ruby (non-rails) application? So far I've built and written a launchable gem on my Mac. There's a script, /lib/appname.rb that does everything. When I install the gem (which works like a charm) on a WIN machine, the user has to open a cmd window and launch C:\Ruby\lib\ruby\gems\1.8\gems\appname\lib\appname.rb plus arguments, which I think is pretty ugly. I've tried adding a launcher script into /bin and adding it to the gemspec like this spec = Gem::Specification.new do |s| s.name = 'appname' s.version = '0.0.3' s.summary = 'desc' s.description = %{desc} s.test_files = Dir['test/*.rb'] s.bindir = 'bin' ... However, the files I put in /bin don't seem to be installed to c:\Ruby\bin as I would expect it, when I unpack it, they're not even included. I'm clueless on how I can make this a bit more userfriendly. Any help is much appreciated. Thanks, Tony -- Posted via http://www.ruby-forum.com/.