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
--- a/uri/common.rb | |
+++ b/uri/rfc3986_common.rb | |
@@ -45,9 +45,9 @@ module URI | |
RESERVED = ";/?:@&=+$,\\[\\]" | |
# domainlabel = alphanum | alphanum *( alphanum | "-" ) alphanum | |
- DOMLABEL = "(?:[#{ALNUM}](?:[-#{ALNUM}]*[#{ALNUM}])?)" | |
+ DOMLABEL = "(?:[#{ALNUM}](?:[-_#{ALNUM}]*[#{ALNUM}])?)" | |
# toplabel = alpha | alpha *( alphanum | "-" ) alphanum | |
- TOPLABEL = "(?:[#{ALPHA}](?:[-#{ALNUM}]*[#{ALNUM}])?)" |
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
# monkey patch for permission problem when installing package including executables from git repository | |
# (Errno::EPERM: Operation not permitted) | |
# for rubygems >= 1.8 | |
# 1. put this file under lib directory. | |
# 2. put below line to top of Gemfile. | |
# | |
# require File.expand_path("lib/gem_installer_eperm_patch", File.dirname(__FILE__)) | |
# | |
require 'rubygems/installer' |
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 'formula' | |
class KyotoTycoon < Formula | |
url 'http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.55.tar.gz' | |
homepage 'http://fallabs.com/kyototycoon/' | |
sha1 'bd301b3d355788ae89e09a092b1d469f8a69f411' | |
depends_on 'lua' unless ARGV.include? "--no-lua" | |
depends_on 'kyoto-cabinet' |