View demo.rb
This file contains 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
class Demo | |
# 外向けからはこれだけがよばれる | |
def run | |
puts 'new' | |
_run | |
end | |
private |
View gist:0ec61fa5bca24778fa504f4ec25dfd8a
This file contains 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
diff --git tool/sync_default_gems.rb tool/sync_default_gems.rb | |
index 1c697857d0..3b8dd5474d 100644 | |
--- tool/sync_default_gems.rb | |
+++ tool/sync_default_gems.rb | |
@@ -353,6 +353,15 @@ def sync_default_gems(gem) | |
end | |
end | |
+IGNORE_FILE_PATTERN = | |
+ /\A(?:[A-Z]\w*\.(?:md|txt) |
View gist:47da18134a7323ab6fdb00d23e148e5f
This file contains 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
lib/open-uri.rb | |
2:require 'uri' | |
lib/time.rb | |
3:require 'date' | |
lib/rdoc/store.rb | |
2:require 'fileutils' | |
lib/rdoc/options.rb |
View gist:f61e3f946f2ac5da6e0768d370ed7688
This file contains 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
hsbt@euclid /usr % ls /usr/lib | |
charset.alias libMTLCapture.dylib libiodbcinst.2.dylib log sasl2 | |
cron libffi-trampolines.dylib libiodbcinst.dylib pam sqlite3 | |
dsc_extractor.bundle libgmalloc.dylib libobjc-trampolines.dylib php swift | |
dtrace libhunspell-1.2.0.dylib libpython.dylib pkgconfig system | |
dyld libhunspell-1.2.dylib libpython2.7.dylib python2.7 updaters | |
groff libiodbc.2.dylib libstdc++.6.dylib rpcsvc xpc | |
libLeaksAtExit.dylib libiodbc.dylib libstdc++.dylib ruby zsh |
View gist:c4a6cf7dfaf3839998378e9d55faa330
This file contains 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
linking shared-object io/nonblock.bundle | |
../../../../ext/fiddle/libffi-3.2.1/src/arm/trampoline.S:34:17: error: vector register expected | |
stmfd sp!, {r0-r3} | |
^ | |
../../../../ext/fiddle/libffi-3.2.1/src/arm/trampoline.S:39:9: error: invalid operand for instruction | |
ldr r0, [pc, #-4092] | |
^ | |
../../../../ext/fiddle/libffi-3.2.1/src/arm/trampoline.S:42:9: error: invalid operand for instruction | |
ldr pc, [pc, #-4092] | |
^ |
View gist:82d9eae64ccbc3a4cc648ad973ab00a6
This file contains 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
$ rbenv install truffleruby-20.2.0 | |
ruby-build: using openssl from homebrew | |
Downloading truffleruby-20.2.0-macos-amd64.tar.gz... | |
-> https://dqw8nmjcqpjn7.cloudfront.net/ac1e6867e357a44d0bb72b0bb44ea50c3900b0574e81e6e48d2317b6b45a6ffd | |
Installing truffleruby-20.2.0... | |
Recompiling the OpenSSL C extension (against the installed libssl) | |
/Users/hsbt/.local/share/rbenv/versions/truffleruby-20.2.0/lib/mri/rubygems/specification.rb:18: warning: loading in progress, circular require considered harmful - /Users/hsbt/.local/share/rbenv/versions/truffleruby-20.2.0/lib/mri/rubygems.rb | |
<internal:core> core/kernel.rb:265:in `require': RubyGems did not redefine #require as expected, make sure $LOAD_PATH and home are set correctly (RuntimeError) | |
from /Users/hsbt/.local/share/rbenv/versions/truffleruby-20.2.0/lib/mri/rubygems/specification.rb:18:in `<top (required)>' | |
from <internal:core> core/kernel.rb:257:in `require' |
View gist:806d4d93e120ff26e229ead84386e43f
This file contains 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
$ rake test | |
Run options: --seed 14972 | |
# Running: | |
.........................................................................................................................E.........................................................................................................^Crake aborted! | |
Interrupt: | |
Tasks: TOP => test | |
(See full trace by running task with --trace) |
View gist:bc9ed40405cc8b96a82c4b432d0f219e
This file contains 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
11238 │ compiling symbol.c | |
11239 │ parse.c:12491:41: error: too many arguments provided to function-like macro invocation | |
11240 │ yytoken, &yylval, &yylloc, p); | |
11241 │ ^ | |
11242 │ parse.c:6055:9: note: macro 'yydestruct' defined here | |
11243 │ #define yydestruct(m, t, v) ruby_parser_yydestruct(m, t, v, p) | |
11244 │ ^ | |
11245 │ parse.c:12490:11: error: use of undeclared identifier 'yydestruct' | |
11246 │ yydestruct ("Error: discarding", | |
11247 │ ^ |
View gist:eff3a2b9e075860d4190217dfb1475f3
This file contains 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
abbrev | |
[{"id":94602,"handle":"nt_gem_test","email":"alfredhochmeier@yahoo.de"}] | |
base64 | |
[{"id":95512,"handle":"jimflexton","email":"hans_adel@zoho.com"}] | |
coverage | |
[{"id":41673,"handle":"jix","email":"jannis@harderweb.de"},{"id":41557,"handle":"kbrooks","email":"cmpfixer@hotmail.com"},{"id":42043,"handle":"jpedrosa","email":"joaopedrosa@yahoo.com"},{"id":42164,"handle":"pinguin751","email":"pinguin751@gmx.net"},{"id":42796,"handle":"neoneye","email":"neoneye@gmail.com"},{"id":42828,"handle":"msparshatt","email":"msparshatt@gmail.com"}] | |
english | |
[{"id":209,"handle":"transami","email":"transfire@gmail.com"},{"id":11988,"handle":"temp_account","email":"michael.s.klishin@gmail.com"}] | |
fiber | |
[{"id":62948,"handle":"zackrw","email":"z.reneau.wedeen@gmail.com"}] |
NewerOlder