Skip to content

Instantly share code, notes, and snippets.

@steelcm
Created May 11, 2012 14:08
Show Gist options
  • Select an option

  • Save steelcm/2659900 to your computer and use it in GitHub Desktop.

Select an option

Save steelcm/2659900 to your computer and use it in GitHub Desktop.
Ruby on rails installation script for Cygwin
# check installed packages
cygcheck -c bash binutils bzip2 cygwin gcc-core gcc-g++ gcc-java gzip m4 make unzip zip
# install Ruby
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz
tar -zxvf ruby-1.9.3-p0.tar.gz
cd ruby-1.9.3-p0
./configure
make
make install
# install RubyGems
wget http://production.cf.rubygems.org/rubygems/rubygems-1.8.24.tgz
tar -zxvf rubygems-1.8.24.tgz
cd rubygems-1.8.24
ruby setup.rb
#install Rails
gem install rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment