Thread: RE: [Fxruby-users] [Q] Alternatives to the source RubyGem format?
Status: Inactive
Brought to you by:
lyle
From: <ly...@kn...> - 2004-07-09 19:45:20
|
On Fri, 9 Jul 2004 12:00:43 -0700, "Oliver Smith" <ol...@mo...> wrote : > I just tried installing FXRuby 1.2 on Windows, and thought I would play > devil's advocate. :) Someone's got to! ;) > I just don't see how this is anything but a step backwards on Windows. Who > would want to go from double-clicking to typing obscure commands in a DOS > box? Yes, this is an excellent point. Of course, we could try to turn this into a positive suggestion (feature request) for the RubyGems developers; but that's a side point. > ... Plus there is no obvious option for choosing an install > directory and the output of the installer did not even tell me where it put > the FXRuby 1.2 files. With the old .exe installer I see a helpful screen > telling me where the files will go, and an easy option to change the > destination directory. I'm guessing that the RubyGems developers' argument would be that they intentionally don't give you a choice for the installation directory. That is, Gems are always installed in a standard location in the Ruby directory structure so that you don't have to *care* where they were installed. I can see a parallel with how I use RPMs under Linux; I rarely list their contents to see what files are going where, I just install the RPM and know that it's going to be installed in the "right place." > Plus, no DOS box, no installing third party > programs, no reading help files, no outdated zip files and an obvious way to > uninstall the program. I think I follow you on most of these. But by "installing third party programs", are you referring to the requirement of first installing RubyGems itself? That is certainly a drawback for now, but at the last Ruby conference Matz expressed a strong interest in getting this into the official Ruby code base as soon as it's mature. I doubt that will be in time for the pending 1.8.2 release, but I wouldn't be surprised to see it make it in there by the end of the year. > Of course Lyle, in reality I'm grateful for the work you're doing so > whichever way you want to do it is the right way. I'm just taking the > grouchy consistency-advocate's view. :) Thanks, but please don't apologize. I think you raise some excellent points and these are some things I hadn't considered. Now that you've brought it up, I'm wondering how hard it would be to in fact "wrap" a binary gem as a Win32 installer-like executable (and create an uninstaller for it as well). If done right one could still retain the advantages of RubyGems in terms of packaging and versioning, but lose the unfriendliness of the command-line interface. |
From: Jeff K. <tl...@co...> - 2004-07-11 11:59:59
|
Having just installed Ruby on Linux for the first time I must confess that I was a bit disconcerted that I had to install rubygems before I could install FXRuby. As I remembered installing it on Windows a year or so ago installing FXRuby was pretty darn simple. However, once I got my head around what rubygems was doing I found it petty convenient. I particularly value the uninstall ability of rubygems since I had to try several times to get it right due to my non-standard installation preferences (aka Linux ignorance) of the Fox libraries. I've always found Linux installations to be obscure. And if you do any serious Linux work you're familiar with the terminal so that's not a hinderance. So, I see a real advantage to using Rubygems on Linux installations. In addition, I see real advantages to having a consistent installation routine across all platforms. Perhaps the gem files can be cross bred with *.rbw to ease the burden on our Windows brothers? --jeff |
From: RLMuller <RLM...@Co...> - 2004-07-11 14:47:04
|
Hi Jeff, Having reread the error messages you got, I think my suggestion of changing the working directory was useless. Sorry for wasting your time. I don't run Linux on any of my systems currently and never new it well enough anyway to by able to make any useful suggestion. Regards, Richard ----- Original Message ----- From: "Jeff Koppe" <tl...@co...> To: <fxr...@li...> Sent: Sunday, July 11, 2004 8:10 AM Subject: [Fxruby-users] RE: [Q] Alternatives to the source RubyGem format? > Having just installed Ruby on Linux for the first time I must confess > that I was a bit disconcerted that I had to install rubygems before I > could install FXRuby. As I remembered installing it on Windows a year > or so ago installing FXRuby was pretty darn simple. > > However, once I got my head around what rubygems was doing I found it > petty convenient. I particularly value the uninstall ability of > rubygems since I had to try several times to get it right due to my > non-standard installation preferences (aka Linux ignorance) of the > Fox libraries. I've always found Linux installations to be obscure. > And if you do any serious Linux work you're familiar with the > terminal so that's not a hinderance. So, I see a real advantage to > using Rubygems on Linux installations. In addition, I see real > advantages to having a consistent installation routine across all > platforms. Perhaps the gem files can be cross bred with *.rbw to ease > the burden on our Windows brothers? > > --jeff > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.713 / Virus Database: 469 - Release Date: 7/9/2004 |
From: Oliver S. <ol...@mo...> - 2004-07-09 20:21:04
|
> I'm guessing that the RubyGems developers' argument would be that they > intentionally don't give you a choice for the installation directory. That > is, Gems are always installed in a standard location in the Ruby directory > structure so that you don't have to *care* where they were > installed. I can > see a parallel with how I use RPMs under Linux; I rarely list > their contents > to see what files are going where, I just install the RPM and > know that it's > going to be installed in the "right place." I don't really need to know where the library files go, but the Windows installer gives me some text telling me where example files and help files are. With the gem, I might not even think to look for any example files, given that they are kind of buried in the c:\ruby directory. Admittedly, installing to another directory is not all that useful for a library, but be prepared for users complaining that they have two ruby versions installed. :) > by "installing third party > programs", are you referring to the requirement of first > installing RubyGems > itself? That is certainly a drawback for now, but at the last Ruby > conference Matz expressed a strong interest in getting this into the > official Ruby code base as soon as it's mature. I doubt that will > be in time > for the pending 1.8.2 release, but I wouldn't be surprised to see > it make it > in there by the end of the year. Yeah, a few of my problems would be made easier just by rubygems being the standard way of doing things. > Now that you've brought it > up, I'm wondering how hard it would be to in fact "wrap" a binary gem as a > Win32 installer-like executable (and create an uninstaller for it > as well). > If done right one could still retain the advantages of RubyGems > in terms of > packaging and versioning, but lose the unfriendliness of the command-line > interface. I had considered this possibility as well. Wrapping a gem in NSIS would make me happy, and would also give the developer an option of installing start menu folders, desktop icons, quick launch icons, registry keys and the rest. It would make me even happier if there was an automatic option to reformat Linux text files in DOS format. One of my pet peeves is downloading some ruby source and seeing a 'README' file formatted with Linux line endings. Windows users can't double-click on a file with no extension, and furthermore notepad won't display it correctly. Not that FXRuby suffers from that problem. :) Oliver |