1
votes

I am attempting to follow instructions on this page:

http://www.agilereasoning.com/2011/05/25/ruby-on-rails-on-windows-7-using-cygwin/

I have been trying to install Rails with varying success first using the railsinstaller and I encounter difficulties like no vim and I couldn't copy and paste from the Windows command prompt so I install CYGWIN. It didn't download the files correctly so I downloaded them manually and some were hard to locate. I couldn't find the final package as a .tar file so I downloaded libxslt-devel-1.1.20-1.i386.rpm.

Right click the Cygwin shortcut and choose edit from the menu. Change the contents to >match:

1 @echo off 2 C:\cygwin\bin\rxvt -sr -sl 1500 -e C:\cygwin\bin\bash.exe --login -i

Do I have to put this as a command to run on the executable or inside the cygwin commmand prompt? When I try to do that I get this:

-bash: 'command': command not found

2

2 Answers

0
votes

Lots of things wrong here.

  • You can copy/paste the command prompt with Edit->Mark or Edit->Paste
  • libxslt-devel-1.1.20-1.i386.rpm is a linux file.
  • C:\cygwin\bin\rxvt - why are you mesing around with rxvt?

I recommend you install the rubyinstaller + devkit and then do gem install rails. However don't expect to be happy with rails' performance on windows.

0
votes

Ruby on Rails on Windows via CYGWIN
Try:

  • Install Vagrant
  • Virtual Box,
  • and Cygwin (or PuTTy, I am using Cygwin).

  • vagrant init <box>hashicorp/precise64 - see othersVagrantfile

    vagrant upvagrant ssh
    sudo apt-get ruby -v x.x.x



    With this set, I have no problem at all running Ruby (on Rails) with Windows.