Take this spec:
I've reimplemented it here for simplicity:
class Mock
def coerce(x)
[1, 10]
class MyRubyClass | |
function myJSInstanceMethod() { | |
this... | |
} | |
end |
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] JRuby | |
[INFO] JRuby Core | |
[INFO] JRuby Lib Setup | |
[INFO] JRuby Artifacts | |
[INFO] JRuby Stdlib | |
[INFO] JRuby Complete |
Take this spec:
I've reimplemented it here for simplicity:
class Mock
def coerce(x)
[1, 10]
p self.class | |
define_method :bar do | |
end |
Dir.mktmpdir("ruby_X_tmp") {|tmpdir| | |
tmpfilename = "#{tmpdir}/ruby_X_tmp.#{$$}" | |
tmp = open(tmpfilename, "w") | |
tmp.print "tvi925\n"; | |
tmp.print "tvi920\n"; | |
tmp.print "vt100\n"; | |
tmp.print "Amiga\n"; | |
tmp.print "paper\n"; | |
tmp.close |
def foo | |
gets | |
p $_ | |
end | |
def bar | |
p $_ | |
end | |
foo |
=========================== JRuby+Truffle Debug Report ======================== | |
Stopped because: | |
=========================== Ruby Bracktrace =========================== | |
at ../test.rb:1:in 'm' | |
method = m:../test.rb:1 | |
declaring module = Object | |
declaration frame: |
--- lib/ruby/stdlib/erb.rb 2014-12-21 16:00:01.000000000 +0000 | |
+++ ../rubysl/rubysl-erb/lib/rubysl/erb/erb.rb 2014-12-21 02:19:58.000000000 +0000 | |
@@ -68,7 +68,7 @@ | |
# a magic comment, however, it returns a string in the encoding specified | |
# by the magic comment. | |
# | |
-# # -*- coding: utf-8 -*- | |
+# # -*- coding: UTF-8 -*- | |
# require 'erb' | |
# |
chrisseaton@Chriss-MacBook-Pro:~/Documents/oracle/jruby [master!] $ ruby -e '14.instance_eval { p @foo = 14 }' | |
-e:1:in `block in <main>': can't modify frozen Fixnum (RuntimeError) | |
from -e:1:in `instance_eval' | |
from -e:1:in `<main>' | |
chrisseaton@Chriss-MacBook-Pro:~/Documents/oracle/jruby [master!] $ bin/jruby -e '14.instance_eval { p @foo = 14 }' | |
14 | |
chrisseaton@Chriss-MacBook-Pro:~/Documents/oracle/jruby [master!] $ ~/.rbenv/versions/jruby-1.7.16/bin/ruby -e '14.instance_eval { p @foo = 14 }' | |
14 |
[ERROR] Failed to execute goal on project jruby-lib: Could not resolve dependencies for project org.jruby:jruby-lib:pom:9.0.0.0.dev-SNAPSHOT: Failed to collect dependencies at rubygems:krypt:gem:0.0.2 -> rubygems:krypt-core:gem:0.0.2 -> rubygems:krypt-provider-jdk:gem:[0.0.2,0.0.2.0.0.0.0.1): No versions available for rubygems:krypt-provider-jdk:gem:[0.0.2,0.0.2.0.0.0.0.1) within specified range -> [Help 1] |