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
~/development/json[master*]$ gem install pkg/json_pure-1.4.3.gem | |
Successfully installed json_pure-1.4.3 | |
1 gem installed | |
~/development/json[master*]$ irb | |
rbx-head > require 'rubygems' | |
=> true | |
rbx-head > require 'json/ext' | |
LoadError: no such file to load -- json/ext/parser | |
from Rubinius::CodeLoader#load_error at kernel/common/codeloader.rb:343 |
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
Total running time: 112.77132774900001s | |
index % time self children called name | |
---------------------------------------------------------- | |
[1] 64.7 0.00 112.77 1 Rubinius::Loader#script [1] | |
0.00 112.77 1/1 Rubinius::CodeLoader.load_script [2] | |
0.00 0.00 1/65265 File.exists? | |
0.00 0.00 1/1500618 String#to_s | |
0.00 0.00 1/11004 Rubinius::GlobalVariables#[]= | |
0.00 0.00 1/592309 Array#empty? | |
------------------------------------------------------- |
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
Total running time: 109.63151843600001s | |
% cumulative self self total | |
time seconds seconds calls ms/call ms/call name | |
------------------------------------------------------------ | |
25.59 39.99 39.99 16040 2.49 2.49 FFI::Platform::POSIX.memset | |
5.45 8.51 8.51 14 608.05 608.05 Rubinius::Channel#receive_timeout | |
4.36 7.79 6.81 3331 2.04 2.34 JSON::Ext::Generator::GeneratorMethods::Hash#to_json | |
3.13 4.88 4.89 62708 0.08 0.08 Rubinius::VM.reset_method_cache | |
2.60 4.06 4.06 760 5.34 5.34 GC.collect_young |
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/spec/ruby/optional/capi/spec_helper.rb b/spec/ruby/optional/capi/spec_helper.rb | |
index 6930fcf..05e255b 100644 | |
--- a/spec/ruby/optional/capi/spec_helper.rb | |
+++ b/spec/ruby/optional/capi/spec_helper.rb | |
@@ -3,7 +3,7 @@ require File.expand_path('../../../spec_helper', __FILE__) | |
require 'rbconfig' | |
def compile_extension(path, name) | |
- ext = "#{path}#{name}_spec" | |
+ ext = File.join(path, "#{name}_spec") |
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 File.expand_path('../spec_helper', __FILE__) | |
require 'stringio' | |
load_extension("marshal") | |
describe "CApiMarshalSpecs" do | |
before(:each) do | |
@s = CApiMarshalSpecs.new | |
end |
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
~$ ls /Users/jake/development/rnkfoods/test/fixtures/ | |
contact_mailer orderitems.yml orders.yml products.yml users.yml |
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
Program received signal EXC_BAD_ACCESS, Could not access memory. | |
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000020 | |
0x000000010006149c in rubinius::VMMethod::interpreter (state=0x101004be0, vmm=0x10f2ba320, call_frame=0x7fff5fbf7760) at instruction_implementations.hpp:900 | |
900 if(cache->update_and_validate(state, call_frame, recv) && | |
(gdb) where | |
#0 0x000000010006149c in rubinius::VMMethod::interpreter (state=0x101004be0, vmm=0x10f2ba320, call_frame=0x7fff5fbf7760) at instruction_implementations.hpp:900 | |
#1 0x0000000100145791 in rubinius::BlockEnvironment::execute_interpreter (state=0x101004be0, previous=0x7fff5fbf7bd0, env=0x10123fe90, args=@0x7fff5fbf7b30, invocation=@0x7fff5fbf7930) at vm/builtin/block_environment.cpp:144 | |
#2 0x0000000100145a04 in rubinius::BlockEnvironment::call (this=<value temporarily unavailable, due to optimizations>, state=<value temporarily unavailable, due to optimizations>, call_frame=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavai |
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
it "does not trigger a call to const_missing if the constant is not defined in the module" do | |
ConstantSpecs.should_receive(:const_missing).exactly(0).times | |
lambda { ConstantSpecs.send(:remove_const, :Nonexistent) }.should raise_error(NameError) | |
end |
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
Error: signal SIGSEGV | |
0 ruby 0x000000010005398f _ZN8rubiniusL12segv_handlerEi + 159 | |
1 libSystem.B.dylib 0x00007fff824ef35a _sigtramp + 26 | |
2 ??? 0x0000000000000000 0x0 + 0 | |
3 ruby 0x0000000100062b3d _ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE + 20525 | |
4 ruby 0x000000010013fbb2 _ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 434 | |
5 ruby 0x000000010016b6b1 _ZN8rubinius6Object9send_primEPNS_2VMEPNS_10ExecutableEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 257 | |
6 ruby 0x00000001000ddeab _ZN8rubinius10Primitives11object_sendEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 123 |
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
ns~/rightscale/right_site[master*]$ gem install rake | |
Error: signal SIGSEGV | |
0 rbx 0x000000010005398f _ZN8rubiniusL12segv_handlerEi + 159 | |
1 libSystem.B.dylib 0x00007fff824ef35a _sigtramp + 26 | |
2 ??? 0x0000000000000000 0x0 + 0 | |
3 rbx 0x0000000100062b3d _ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE + 20525 | |
4 rbx 0x000000010013fbb2 _ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 434 | |
5 rbx 0x000000010016b6b1 _ZN8rubinius6Object9send_primEPNS_2VMEPNS_10ExecutableEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 257 |