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
$ erl -noshell -eval "cuter:run('Elixir.Base', url_encode64, [<<65, 108, 97, 100, 100, 105, 110, 58, 111, 112, 101, 110, 32, 115, 101, 115, 97, 109, 101>>], 42, [fully_verbose_execution_info])" -s init stop | |
Testing 'Elixir.Base':url_encode64/1 ... | |
WARNING: Generated invalid Core Erlang AST for module 'Elixir.Base'! | |
{bad_constructor_pattern, | |
{c_map, | |
[compiler_generated], | |
{c_literal,[compiler_generated],#{}}, | |
[{c_map_pair, | |
[compiler_generated], |
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
$ erl -noshell -eval "cuter:run('Elixir.Base', url_encode64, [<<65, 108, 97, 100, 100, 105, 110, 58, 111, 112, 101, 110, 32, 115, 101, 115, 97, 109, 101>>], 42, [fully_verbose_execution_info])" -s init stop | |
Testing 'Elixir.Base':url_encode64/1 ... | |
WARNING: Generated invalid Core Erlang AST for module 'Elixir.Base'! | |
{bad_constructor_pattern, | |
{c_map, | |
[compiler_generated], | |
{c_literal,[compiler_generated],#{}}, | |
[{c_map_pair, | |
[compiler_generated], |
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 a/lib/ruby/truffle/mri/io/console.rb b/lib/ruby/truffle/mri/io/console.rb | |
new file mode 100644 | |
index 0000000..b640b33 | |
--- /dev/null | |
+++ b/lib/ruby/truffle/mri/io/console.rb | |
@@ -0,0 +1 @@ | |
+# TODO BJF 18-Feb-2016 Replace shim thor <- bundler, | |
\ No newline at end of file | |
diff --git a/lib/ruby/truffle/mri/rubygems.rb b/lib/ruby/truffle/mri/rubygems.rb | |
index ad34fa7..c676a65 100644 |
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
$ JRUBY_OPTS=-X+T GEM_HOME=/Users/brandonfish/Documents/truffle_gem_home bundle exec rspec | |
WARNING: This JVM does not have the Graal compiler. JRuby+Truffle's performance without it will be limited. See https://github.com/jruby/jruby/wiki/Truffle-FAQ#how-do-i-get-jrubytruffle | |
Ignoring bson-4.0.1 because its extensions are not built. Try: gem pristine bson --version 4.0.1 | |
Ignoring ffi-1.9.10 because its extensions are not built. Try: gem pristine ffi --version 1.9.10 | |
Ignoring mysql-2.9.1 because its extensions are not built. Try: gem pristine mysql --version 2.9.1 | |
Ignoring nokogiri-1.6.7.2 because its extensions are not built. Try: gem pristine nokogiri --version 1.6.7.2 | |
Ignoring pg-0.18.4 because its extensions are not built. Try: gem pristine pg --version 0.18.4 | |
WARNING: This JVM does not have the Graal compiler. JRuby+Truffle's performance without it will be limited. See https://github.com/jruby/jruby/wiki/Truffle-FAQ#how-do-i-get-jrubytruffle | |
Ignoring bson-4.0.1 because its extensions are not built. |
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
module Test1 | |
def call_me | |
puts "called" | |
end | |
end | |
class Test2 | |
include Test1 | |
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
-ext-/array/test_resize.rb | |
-ext-/bignum/test_big2str.rb | |
-ext-/bignum/test_bigzero.rb | |
-ext-/bignum/test_div.rb | |
-ext-/bignum/test_mul.rb | |
-ext-/bignum/test_pack.rb | |
-ext-/bignum/test_str2big.rb | |
-ext-/bug_reporter/test_bug_reporter.rb | |
-ext-/class/test_class2name.rb | |
-ext-/debug/test_debug.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
$ jt test mri | |
java.lang.ArrayIndexOutOfBoundsException: -1 | |
at org.jcodings.specific.UTF8Encoding.length(UTF8Encoding.java:35) | |
at org.jcodings.MultiByteEncoding.strLength(MultiByteEncoding.java:209) | |
at org.jruby.util.ByteList.lengthEnc(ByteList.java:594) | |
at org.jruby.ast.SymbolNode.<init>(SymbolNode.java:63) | |
at org.jruby.parser.RubyParser$376.execute(RubyParser.java:4231) | |
at org.jruby.parser.RubyParser.yyparse(RubyParser.java:1648) | |
at org.jruby.parser.RubyParser.yyparse(RubyParser.java:1539) | |
at org.jruby.parser.RubyParser.parse(RubyParser.java:5257) |
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
$ locale | |
LANG=en_US.UTF-8 | |
LANGUAGE= | |
LC_CTYPE="en_US" | |
LC_NUMERIC="en_US" | |
LC_TIME="en_US" | |
LC_COLLATE="en_US" | |
LC_MONETARY="en_US" | |
LC_MESSAGES="en_US" | |
LC_PAPER="en_US" |
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
$ jt test mri | |
/vagrant/test/mri/lib/test/unit.rb:257:in `require': internal implementation error - ArrayIndexOutOfBoundsException -1 org.jcodings.specific.UTF8Encoding.length(UTF8Encoding.java:35) (RubyTruffleError) | |
from /vagrant/test/mri/lib/test/unit.rb:257:in `block in non_options' | |
from /vagrant/test/mri/lib/test/unit.rb:251:in `non_options' | |
from /vagrant/test/mri/lib/test/unit.rb:62:in `process_args' | |
from /vagrant/test/mri/lib/test/unit.rb:851:in `process_args' | |
from /vagrant/test/mri/lib/test/unit.rb:856:in `run' | |
from /vagrant/test/mri/lib/test/unit.rb:863:in `run' | |
from test/mri/runner.rb:41:in `<main>' |
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
require 'sinatra' | |
# ~/Documents/jruby/bin/jruby -X+T -I/Users/brandonfish/Documents/rack/lib -I/Users/brandonfish/Documents/sinatra/lib -I/Users/brandonfish/Documents/tilt/lib -I/Users/brandonfish/Documents/rack-protection/lib sinatra.rb | |
# http://localhost:4567/hello | |
get '/hello' do | |
"Hello Sinatra!" | |
end |