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.

Revisions

  1. steelcm revised this gist May 11, 2012. 1 changed file with 11 additions and 11 deletions.
    22 changes: 11 additions & 11 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,16 @@
    # 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
    $ 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
    $ 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
    $ gem install rails
  2. steelcm revised this gist May 11, 2012. 1 changed file with 1 addition and 4 deletions.
    5 changes: 1 addition & 4 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,3 @@
    # 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
    @@ -15,5 +12,5 @@ tar -zxvf rubygems-1.8.24.tgz
    cd rubygems-1.8.24
    ruby setup.rb

    #install Rails
    # install Rails
    gem install rails
  3. steelcm revised this gist May 11, 2012. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -9,9 +9,11 @@ cd ruby-1.9.3-p0
    make
    make install

    # install Ruby gems
    # 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
  4. steelcm created this gist May 11, 2012.
    17 changes: 17 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    # 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 Ruby gems
    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