View gist:5418c723e27b68183dd13c4316d519fc
ActionController::RoutingError (uninitialized constant ApplicationController):
app/controllers/welcome_controller.rb:2:in `<top (required)>'
ActionController::RoutingError: uninitialized constant ApplicationController
from /Users/bfish/Documents/railstest/skip_active_record/app/controllers/welcome_controller.rb:2:in `<top (required)>'
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/activesupport-4.2.9/lib/active_support/inflector/methods.rb:261:in `const_get'
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/activesupport-4.2.9/lib/active_support/inflector/methods.rb:261:in `block in constantize'
View update-mri-cext.rb
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
# This code is released under a tri EPL/GPL/LGPL license. You can use it,
# redistribute it and/or modify it under the terms of the:
#
# Eclipse Public License version 1.0
# GNU General Public License version 2
# GNU Lesser General Public License version 2.1
# Run with ruby tool/update-mri-cext.rb
View console.log
$ jt environment
Environment
JAVA_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
RUBY_BIN:
GRAALVM_BIN:
GRAAL_HOME:
JVMCI_BIN:
JVMCI_GRAAL_HOME:
GRAAL_JS_JAR:
SL_JAR:
View headers.patch
Only in lib/cext/ruby: config.h
diff -ur ../ruby/include/ruby/encoding.h lib/cext/ruby/encoding.h
--- ../ruby/include/ruby/encoding.h 2017-06-28 20:38:05.000000000 -0500
+++ lib/cext/ruby/encoding.h 2017-09-03 10:51:53.000000000 -0500
@@ -44,10 +44,7 @@
#define RB_ENCODING_GET_INLINED(obj) \
(int)((RBASIC(obj)->flags & RUBY_ENCODING_MASK)>>RUBY_ENCODING_SHIFT)
-#define RB_ENCODING_GET(obj) \
- (RB_ENCODING_GET_INLINED(obj) != RUBY_ENCODING_INLINE_MAX ? \
View running_with_sulong.md
  1. Follow the steps to setup sulong from the README: https://github.com/graalvm/sulong

OSX Steps

  1. Install llvm version 3.3 I installed with the following way (mileage may vary):

    wget https://raw.githubusercontent.com/Homebrew/homebrew-versions/75e1f3f6e640b97c4f0d64d8797da94073cd612c/llvm33.rb
    brew install llvm33.rb
    
View dep_tree.md

Gem Testing

bundle install && bundle exec rake test

bundle exec rake test
\- bundle install
   \- openssl
View gist:a1f3de2969b7d77c080c44170745c009
irb(main):017:0> "\xD8\x00\x30\x42".force_encoding(Encoding::UTF_16BE).scrub("dog".encode(Encoding::UTF_16BE)) { "cat".encode(Encoding::UTF_16BE) }
=> "dog\u3042"
irb(main):018:0> "\xD8\x00\x30\x42".scrub("dog") { "cat" }
=> "cat\u00000B"
View gist:762dabd9aaac3fd1c0040ce18e50587e
@NodeChild(value = "value", type = FormatNode.class)
public abstract class ToDoubleWithCoercionNode extends FormatNode {
@Child private SnippetNode snippetNode = new SnippetNode();
public ToDoubleWithCoercionNode(RubyContext context) {
super(context);
}
@Specialization
View gist:d70799f5362123df458d3b35671a6618
Brandons-MacBook-Pro:jruby brandonfish$ jt build
$ JRUBY_BUILD_MORE_QUIET=true ./mvnw -q package
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=2048m; support was removed in 8.0
/Users/brandonfish/Documents/jruby/core/target/generated-sources/annotated_classes.txt - not found. skip generator.
Brandons-MacBook-Pro:jruby brandonfish$ jt test spec/ruby/core/process/exec_spec.rb
$ ruby spec/mspec/bin/mspec run --config spec/truffle/truffle.mspec --excl-tag fails spec/ruby/core/process/exec_spec.rb
jruby+truffle 9.1.7.0-SNAPSHOT (2.3.1) 2016-12-03 unknown Java HotSpot(TM) 64-Bit Server VM 25.66-b17 on 1.8.0_66-b17 [darwin-x86_64]
1)
Process.exec raises Errno::ENOENT for a command which does not exist ERROR
View mkmf-workarounds.diff
diff --git a/lib/ruby/stdlib/mkmf.rb b/lib/ruby/stdlib/mkmf.rb
index 3181b05..1f11e6a 100644
--- a/lib/ruby/stdlib/mkmf.rb
+++ b/lib/ruby/stdlib/mkmf.rb
@@ -2718,5 +2718,5 @@ end
include MakeMakefile
if not $extmk and /\A(extconf|makefile).rb\z/ =~ File.basename($0)
- END {mkmf_failed($0)}
+ #END {mkmf_failed($0)}