Hi, Being stuck in Windows at work, I installed rails on cygwin. However, when I type something like: script/generate or script/generate model the pc just churns and whirrs away and after about 2 minutes displays the text. Obviously this is unusable. Can anybody help explain this or give me pointers as to what to do next?? Thanks, Chris.
on 2007-04-24 17:59
on 2007-04-25 01:29
Chris: While it's nice to have the unix-y feel that Cygwin provides, I find it much easier to use the One-Click Ruby installer. at http://rubyforge.org/projects/rubyinstaller/ to get an environment running. You can do basic Rails with cygwin, but an awful lot of gems don't seem to work right (or install right) from my experience. Sorry that didn't directly answer your question though.
on 2007-04-25 11:14
Brian, I agree the one-click is great! However, coming from a Windows background, I would love to get some experience with Unix tools - it would help me use my hosting server better (which is linux) and I'd get to explore some of the free scientific stuff such as texmacs. My ruby 1.8.5 on cygwin seems to work fine but when I use rails (v 1.2.3), the damn thing just freezes up for ages until it finally works! I'm sure other people have better experience than this - so I'm wondering whether there's something I can do? Thanks, Chris
on 2007-04-25 11:21
I did a mix between the two (a clean mix, at least I hope) I've installed a windows .exe ruby interpreter, then installed cygwin only for bash and utilities. The two works great together and at full speed, while the cygwin ruby version was very very slow when I tried it...
on 2007-04-25 11:41
nuno wrote: > I did a mix between the two (a clean mix, at least I hope) > > I've installed a windows .exe ruby interpreter, then installed cygwin > only for bash and utilities. > > The two works great together and at full speed, while the cygwin ruby > version was very very slow when I tried it... Nuno, that sounds like what I need - are you able to run ruby and rails from the cygwin console? Does that require a symbolic link or something?