views:

74

answers:

2

I have installed rails using rubystack and set env path, so I can use it in cmd. When I try to use it with cygwin I doesn't work (it shouldn't), how to make this rails work on both windows and cygwin env or I have to install it separately.

Thanks

A: 

If you are just looking to install so you can use it in cmd, then you can do this without having to use cygwin. You can download and install ruby and rubygems in windows and then use rubygems to install rails and any other gems you need. You then just have to set the path properly to include the bin directory of the ruby installation and you should be able to use ruby from cmd in windows. This doesn't directly answer your questions I know, but if you are just looking for rails in the cmd, I hope it is helpful.

Bryan Ward
Thanks, but I want it to run within cygwin because e-textediot run it from their (if I don't got this wrong). Now I can't use most rail bundle in e-texteditor, so I want a solution for this.
art
A: 

Please visit this site:

http://www.pluitsolutions.com/2006/03/30/install-ruby-on-rails-ror-on-cygwin/

However, if you have a different issue leave a comment and we will have a look.

andHapp