This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [url "https://github.com/"] | |
| insteadOf = "gh:" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bash -c ' | |
| rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
| yum install -q -y sudo gcc gcc-c++ automake autoconf make readline-devel.x86_64 libffi-devel.x86_64 libyaml-devel.x86_64 zlib-devel.x86_64 openssl-devel.x86_64 wget | |
| # This may not be necessary for you | |
| yum remove -q -y ruby-libs ec2-ami-tools | |
| wget http://someurl.domain.com/ruby-1.9.2p180_x86_64.rpm -O /tmp/ruby-1.9.2p180_x86_64.rpm | |
| yum localinstall --nogpgcheck -q -y /tmp/ruby-1.9.2p180_x86_64.rpm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install libssl-dev | |
| sudo gem install fpm | |
| wget ftp://ftp.ruby-lang.org//pub/ruby/1.9/ruby-1.9.2-p180.tar.gz | |
| tar -zxvf ruby-1.9.2-p180.tar.gz | |
| cd src/ruby-1.9.2-p180 | |
| time (./configure --prefix=/usr && make && make install DESTDIR=/tmp/installdir) | |
| fpm -s dir -t deb -n ruby -v 1.9.2-p180 -C /tmp/installdir \ | |
| -p ruby-VERSION_ARCH.deb -d "libstdc++6 (>= 4.4.3)" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rubygems' | |
| # diff --git a/lib/rubygems/version.rb b/lib/rubygems/version.rb | |
| # index 50d8204..4962ce1 100644 | |
| # --- a/lib/rubygems/version.rb | |
| # +++ b/lib/rubygems/version.rb | |
| # @@ -295,12 +295,16 @@ class Gem::Version | |
| # rhsize = other.segments.size | |
| # limit = (lhsize > rhsize ? lhsize : rhsize) - 1 | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/custom/ree/bin/ruby | |
| # USAGE: | |
| # | |
| # echo "|/path/to/core_helper.rb %p %s %u %g" > /proc/sys/kernel/core_pattern | |
| # | |
| require 'etc' | |
| require 'net/smtp' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/custom/ree/bin/ruby | |
| # USAGE: | |
| # | |
| # echo "|/path/to/core_helper.rb %p %s %u %g" > /proc/sys/kernel/core_pattern | |
| # | |
| require 'etc' | |
| require 'net/smtp' |
NewerOlder