On 6/11/05, luke <lduncalfe / eml.nope> wrote: > > when i open a command prompt and type in > gem install rails --remote i get a 'bad command > or file name' message. i'm using win98. gem (and Rails) use *.cmd extension batch files. These don't work on win98 apparently. Renaming them to *.bat by itself will not solve your problem either, and only you know the reason you want to run rails on win98. I mean, if Ruby does work, why shouldn't rails (and gem) too? When I tried this, I found that the gem installer uses some other win98 incompatible commands. I believe it was: <ruby_home>/lib/ruby/site_ruby/1.8/rubygems.rb on def find_home, line 326 return "#{ENV['HOMEDRIVE']}:#{ENV['HOMEPATH']}" and a couple of lines below File.expand_path("~") I rember "commenting out" both lines , and I believe I replaced the first one with just return "c:/", and things started sort-of working. Rails did install after that.But then trying to run it, I found it too used the same win98 incompatibilities, it even says "adapted from RubyGems" on <ruby>/lib/ruby/gems/1.8/gems/rails-0.12.0/lib/rails_generator/lookup.rb lines 31 & 33. I replaced them with return ... the absolute path to my working rails directory (where you'll be generating your app). That almost worked. I had a preexisting folder/directory there, and when I typed 'rails install my_app', it did generate everything, only it put it all on that pre-existing folder, and not on one called 'my_app'. It didn't even create that one. Since I was tired by then, I didn't continue trying to "fix" rails, I simply copied all the generated files and directories to a backup "template" folder from which I copied them every time I wanted a new test rails app. Easier than generating I thought. And that did work. Oh. To save you some additional headaches I suppose, for Apache/MySQL I installed XAMPPLite http://www.apachefriends.org/en/xampp-windows.html But don't bother trying to get FastCGI working on win98. It won't. Yes, your app will be slow. Having said all that. See what you can do about working in (or upgrading to) a modern OS. I hope this helps C