Project

General

Profile

Bug #12053

Updated by nobu (Nobuyoshi Nakada) about 8 years ago

Hi, I've installed all of the Ruby packages available here (http://download.rsdev.16mb.com/OpenWrt/ChaosCalmer_15.05/ArduinoYun/packages/packages/), including ruby-gems. Now I'm trying to install the Pubnub Ruby SDK with the command "gem install pubnub" and I am getting the output below. I'm new to Ruby and can't make heads from tails. Any help is appreciated. I've also downloaded the code from GitHub, so if someone can explain to me how to install it from that folder rather than this automated fashion that would work as well. 

 Thanks! 

 --- 

 gem install pubnub 
 /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54: [BUG] Segmentation fault at 0x000004 
 ruby 2.2.2p95 (2015-04-13 revision 50295) [mips-linux-gnu] 

 -- Control frame information ----------------------------------------------- 
 c:0019 p:---- s:0105 e:000104 CFUNC    :require 
 c:0018 p:0113 s:0101 e:000100 METHOD /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54 
 c:0017 p:0007 s:0091 e:000090 TOP      /usr/lib/ruby/2.2/psych/visitors/json_tree.rb:1 [FINISH] 
 c:0016 p:---- s:0089 e:000088 CFUNC    :require 
 c:0015 p:0113 s:0085 e:000084 METHOD /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54 
 c:0014 p:0039 s:0075 e:000074 TOP      /usr/lib/ruby/2.2/psych/visitors.rb:5 [FINISH] 
 c:0013 p:---- s:0073 e:000072 CFUNC    :require 
 c:0012 p:0113 s:0069 e:000068 METHOD /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54 
 c:0011 p:0031 s:0059 e:000058 TOP      /usr/lib/ruby/2.2/psych.rb:4 [FINISH] 
 c:0010 p:---- s:0057 e:000056 CFUNC    :require 
 c:0009 p:0113 s:0053 e:000052 METHOD /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54 
 c:0008 p:0077 s:0043 e:000042 METHOD /usr/lib/ruby/2.2/rubygems.rb:609 
 c:0007 p:0013 s:0039 e:000038 METHOD /usr/lib/ruby/2.2/rubygems/config_file.rb:328 
 c:0006 p:0145 s:0033 e:000032 METHOD /usr/lib/ruby/2.2/rubygems/config_file.rb:197 [FINISH] 
 c:0005 p:---- s:0022 e:000021 CFUNC    :new 
 c:0004 p:0018 s:0018 e:000016 METHOD /usr/lib/ruby/2.2/rubygems/gem_runner.rb:74 
 c:0003 p:0018 s:0013 e:000012 METHOD /usr/lib/ruby/2.2/rubygems/gem_runner.rb:39 
 c:0002 p:0115 s:0007 E:001cf0 EVAL     /usr/bin/gem:21 [FINISH] 
 c:0001 p:0000 s:0002 E:000df4 TOP      [FINISH] 

 -- Ruby level backtrace information ---------------------------------------- 
 /usr/bin/gem:21:in `<main>' 
 /usr/lib/ruby/2.2/rubygems/gem_runner.rb:39:in `run' 
 /usr/lib/ruby/2.2/rubygems/gem_runner.rb:74:in `do_configuration' 
 /usr/lib/ruby/2.2/rubygems/gem_runner.rb:74:in `new' 
 /usr/lib/ruby/2.2/rubygems/config_file.rb:197:in `initialize' 
 /usr/lib/ruby/2.2/rubygems/config_file.rb:328:in `load_file' 
 /usr/lib/ruby/2.2/rubygems.rb:609:in `load_yaml' 
 /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require' 
 /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require' 
 /usr/lib/ruby/2.2/psych.rb:4:in `<top (required)>' 
 /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require' 
 /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require' 
 /usr/lib/ruby/2.2/psych/visitors.rb:5:in `<top (required)>' 
 /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require' 
 /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require' 
 /usr/lib/ruby/2.2/psych/visitors/json_tree.rb:1:in `<top (required)>' 
 /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require' 
 /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require' 

 -- Other runtime information ----------------------------------------------- 

 * Loaded script: /usr/bin/gem 

 * Loaded features: 

     0 enumerator.so 
     1 rational.so 
     2 complex.so 
     3 /usr/lib/ruby/2.2/mips-linux-gnu/enc/encdb.so 
     4 /usr/lib/ruby/2.2/mips-linux-gnu/enc/trans/transdb.so 
     5 /usr/lib/ruby/2.2/mips-linux-gnu/rbconfig.rb 
     6 thread.rb 
     7 /usr/lib/ruby/2.2/mips-linux-gnu/thread.so 
     8 /usr/lib/ruby/2.2/rubygems/compatibility.rb 
     9 /usr/lib/ruby/2.2/rubygems/defaults.rb 
    10 /usr/lib/ruby/2.2/rubygems/deprecate.rb 
    11 /usr/lib/ruby/2.2/rubygems/errors.rb 
    12 /usr/lib/ruby/2.2/rubygems/version.rb 
    13 /usr/lib/ruby/2.2/rubygems/requirement.rb 
    14 /usr/lib/ruby/2.2/rubygems/platform.rb 
    15 /usr/lib/ruby/2.2/rubygems/basic_specification.rb 
    16 /usr/lib/ruby/2.2/rubygems/stub_specification.rb 
    17 /usr/lib/ruby/2.2/rubygems/util/stringio.rb 
    18 /usr/lib/ruby/2.2/rubygems/specification.rb 
    19 /usr/lib/ruby/2.2/rubygems/exceptions.rb 
    20 /usr/lib/ruby/2.2/rubygems/core_ext/kernel_gem.rb 
    21 /usr/lib/ruby/2.2/monitor.rb 
    22 /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb 
    23 /usr/lib/ruby/2.2/rubygems.rb 
    24 /usr/lib/ruby/2.2/optparse.rb 
    25 /usr/lib/ruby/2.2/rubygems/path_support.rb 
    26 /usr/lib/ruby/2.2/rubygems/user_interaction.rb 
    27 /usr/lib/ruby/2.2/rubygems/command.rb 
    28 /usr/lib/ruby/2.2/rubygems/command_manager.rb 
    29 /usr/lib/ruby/2.2/mips-linux-gnu/etc.so 
    30 /usr/lib/ruby/2.2/rubygems/config_file.rb 
    31 /usr/lib/ruby/2.2/rubygems/gem_runner.rb 
    32 /usr/lib/ruby/2.2/rubygems/dependency.rb 
    33 /usr/lib/ruby/2.2/psych/exception.rb 
    34 /usr/lib/ruby/2.2/psych/syntax_error.rb 
    35 /usr/lib/ruby/2.2/mips-linux-gnu/psych.so 
    36 /usr/lib/ruby/2.2/mips-linux-gnu/stringio.so 
    37 /usr/lib/ruby/2.2/psych/omap.rb 
    38 /usr/lib/ruby/2.2/psych/set.rb 
    39 /usr/lib/ruby/2.2/psych/class_loader.rb 
    40 /usr/lib/ruby/2.2/mips-linux-gnu/strscan.so 
    41 /usr/lib/ruby/2.2/psych/scalar_scanner.rb 
    42 /usr/lib/ruby/2.2/psych/nodes/node.rb 
    43 /usr/lib/ruby/2.2/psych/nodes/stream.rb 
    44 /usr/lib/ruby/2.2/psych/nodes/document.rb 
    45 /usr/lib/ruby/2.2/psych/nodes/sequence.rb 
    46 /usr/lib/ruby/2.2/psych/nodes/scalar.rb 
    47 /usr/lib/ruby/2.2/psych/nodes/mapping.rb 
    48 /usr/lib/ruby/2.2/psych/nodes/alias.rb 
    49 /usr/lib/ruby/2.2/psych/nodes.rb 
    50 /usr/lib/ruby/2.2/psych/streaming.rb 
    51 /usr/lib/ruby/2.2/psych/visitors/visitor.rb 
    52 /usr/lib/ruby/2.2/psych/visitors/to_ruby.rb 
    53 /usr/lib/ruby/2.2/psych/visitors/emitter.rb 
    54 /usr/lib/ruby/2.2/psych/handler.rb 
    55 /usr/lib/ruby/2.2/psych/tree_builder.rb 
    56 /usr/lib/ruby/2.2/psych/visitors/yaml_tree.rb 

 * Process memory map: 

 00400000-00401000 r-xp 00000000 08:01 4858         /usr/lib/ruby/ruby2.2-bin 
 00410000-00411000 rw-p 00000000 08:01 4858         /usr/lib/ruby/ruby2.2-bin 
 00552000-008ab000 rwxp 00000000 00:00 0            [heap] 
 7711c000-77120000 r-xp 00000000 08:01 4965         /usr/lib/ruby/2.2/mips-linux-gnu/strscan.so 
 77120000-7712f000 ---p 00000000 00:00 0  
 7712f000-77130000 rw-p 00003000 08:01 4965         /usr/lib/ruby/2.2/mips-linux-gnu/strscan.so 
 77130000-77135000 r-xp 00000000 08:01 4970         /usr/lib/ruby/2.2/mips-linux-gnu/stringio.so 
 77135000-77145000 ---p 00000000 00:00 0  
 77145000-77146000 rw-p 00005000 08:01 4970         /usr/lib/ruby/2.2/mips-linux-gnu/stringio.so 
 77146000-77159000 r-xp 00000000 08:01 5541         /usr/lib/libyaml-0.so.2.0.4 
 77159000-77168000 ---p 00000000 00:00 0  
 77168000-77169000 rw-p 00012000 08:01 5541         /usr/lib/libyaml-0.so.2.0.4 
 77169000-7716e000 r-xp 00000000 08:01 5521         /usr/lib/ruby/2.2/mips-linux-gnu/psych.so 
 7716e000-7717d000 ---p 00000000 00:00 0  
 7717d000-7717e000 rw-p 00004000 08:01 5521         /usr/lib/ruby/2.2/mips-linux-gnu/psych.so 
 7717e000-77183000 r-xp 00000000 08:01 4969         /usr/lib/ruby/2.2/mips-linux-gnu/etc.so 
 77183000-77192000 ---p 00000000 00:00 0  
 77192000-77193000 rw-p 00004000 08:01 4969         /usr/lib/ruby/2.2/mips-linux-gnu/etc.so 
 77193000-77196000 r-xp 00000000 08:01 5006         /usr/lib/ruby/2.2/mips-linux-gnu/thread.so 
 77196000-771a5000 ---p 00000000 00:00 0  
 771a5000-771a6000 rw-p 00002000 08:01 5006         /usr/lib/ruby/2.2/mips-linux-gnu/thread.so 
 771a6000-771a9000 r-xp 00000000 08:01 5753         /usr/lib/ruby/2.2/mips-linux-gnu/enc/trans/transdb.so 
 771a9000-771b8000 ---p 00000000 00:00 0  
 771b8000-771b9000 rw-p 00002000 08:01 5753         /usr/lib/ruby/2.2/mips-linux-gnu/enc/trans/transdb.so 
 771b9000-771bc000 r-xp 00000000 08:01 4943         /usr/lib/ruby/2.2/mips-linux-gnu/enc/encdb.so 
 771bc000-771cb000 ---p 00000000 00:00 0  
 771cb000-771cc000 rw-p 00002000 08:01 4943         /usr/lib/ruby/2.2/mips-linux-gnu/enc/encdb.so 
 771cc000-7724d000 rw-p 00000000 00:00 0  
 7724d000-772a4000 r-xp 00000000 1f:02 547          /lib/libuClibc-0.9.33.2.so 
 772a4000-772b3000 ---p 00000000 00:00 0  
 772b3000-772b4000 r--p 00056000 1f:02 547          /lib/libuClibc-0.9.33.2.so 
 772b4000-772b5000 rw-p 00057000 1f:02 547          /lib/libuClibc-0.9.33.2.so 
 772b5000-772ba000 rw-p 00000000 00:00 0  
 772ba000-772ce000 r-xp 00000000 1f:02 585          /lib/libgcc_s.so.1 
 772ce000-772dd000 ---p 00000000 00:00 0  
 772dd000-772de000 rw-p 00013000 1f:02 585          /lib/libgcc_s.so.1 
 772de000-772f4000 r-xp 00000000 1f:02 581          /lib/libm-0.9.33.2.so 
 772f4000-77303000 ---p 00000000 00:00 0  
 77303000-77304000 rw-p 00015000 1f:02 581          /lib/libm-0.9.33.2.so 
 77304000-77307000 r-xp 00000000 1f:02 529          /lib/libcrypt-0.9.33.2.so 
 77307000-77316000 ---p 00000000 00:00 0  
 77316000-77317000 rw-p 00002000 1f:02 529          /lib/libcrypt-0.9.33.2.so 
 77317000-77328000 rw-p 00000000 00:00 0  
 77328000-7732b000 r-xp 00000000 1f:02 599          /lib/libdl-0.9.33.2.so 
 7732b000-7733a000 ---p 00000000 00:00 0  
 7733a000-7733b000 r--p 00002000 1f:02 599          /lib/libdl-0.9.33.2.so 
 7733b000-7733c000 rw-p 00003000 1f:02 599          /lib/libdl-0.9.33.2.so 
 7733c000-773a5000 r-xp 00000000 08:01 4877         /usr/lib/libgmp.so.10.2.0 
 773a5000-773b5000 ---p 00000000 00:00 0  
 773b5000-773b6000 rw-p 00069000 08:01 4877         /usr/lib/libgmp.so.10.2.0 
 773b6000-773c9000 r-xp 00000000 1f:02 545          /lib/libpthread-0.9.33.2.so 
 773c9000-773d8000 ---p 00000000 00:00 0  
 773d8000-773d9000 r--p 00012000 1f:02 545          /lib/libpthread-0.9.33.2.so 
 773d9000-773da000 rw-p 00013000 1f:02 545          /lib/libpthread-0.9.33.2.so 
 773da000-773dc000 rw-p 00000000 00:00 0  
 773dc000-77585000 r-xp 00000000 08:01 4872         /usr/lib/libruby.so.2.2.0 
 77585000-77595000 ---p 00000000 00:00 0  
 77595000-7759a000 rw-p 001a9000 08:01 4872         /usr/lib/libruby.so.2.2.0 
 7759a000-775a0000 rw-p 00000000 00:00 0  
 775a0000-775a7000 r-xp 00000000 1f:02 535          /lib/ld-uClibc-0.9.33.2.so 
 775b0000-775b1000 ---p 00000000 00:00 0  
 775b1000-775b6000 rw-p 00000000 00:00 0            [stack:5984] 
 775b6000-775b7000 r--p 00006000 1f:02 535          /lib/ld-uClibc-0.9.33.2.so 
 775b7000-775b8000 rw-p 00007000 1f:02 535          /lib/ld-uClibc-0.9.33.2.so 
 7f0ed000-7f8ed000 rw-p 00000000 00:00 0  
 7fff7000-7fff8000 r-xp 00000000 00:00 0            [vdso] 


 [NOTE] 
 You may have encountered a bug in the Ruby interpreter or extension libraries. 
 Bug reports are welcome. 
 For details: http://www.ruby-lang.org/bugreport.html 

 Aborted

Back