Git Product home page Git Product logo

mgem-list's Issues

Commit Permissions

hi @matz,

could I get commit bits for this repo again or do you want to regulate listed Gems via the pull requests?

Is it possible to have mgem not in the root of a repository?

I develop a C library and have all bindings in the directory pkgs/ (pkgs/ruby/, pkgs/rust/, pkgs/python/, etc). I want to create MRuby gem in the same manner in pkgs/mruby/. It it posiible to put such MRuby gem to this list? I don't see any key for YAML to specify the MRuby gem path inside my repository, only repository exists.

I know that it's possible to specify dependency as follows:

conf.gem github: 'tailix/libkernaux', path: 'pkgs/mruby'

But I want this to work:

conf.gem mgem: 'kernaux'

If this is impossible, will the following work?

conf.gem mgem: 'kernaux', path: 'pkgs/mruby'

Error when trying to marshal a self-defined class

Example code:

class C
  def initialize(o)
    @o=o
  end
end

Marshal::dump(C::new(1))

Raises an exception pointing to marshal.cpp:27 - lhs is zero. Sadly this gem is written in C++ and I cannot help in debugging...

gdb stack:

#0  0x00000000004bc2ee in operator!= (lhs=..., sym=5307) at /home/dvl/motri/mruby/build/mrbgems/mruby-marshal/src/marshal.cpp:27
#1  0x00000000004bc6fe in (anonymous namespace)::write_context::symbol (this=0x7ffdd62c47f0, sym=5307) at /home/dvl/motri/mruby/build/mrbgems/mruby-marshal/src/marshal.cpp:101
#2  0x00000000004bcba5 in (anonymous namespace)::write_context::class_symbol (this=0x7ffdd62c47f0, v=0x2e18ee0) at /home/dvl/motri/mruby/build/mrbgems/mruby-marshal/src/marshal.cpp:164
#3  0x00000000004bffc6 in (anonymous namespace)::write_context::klass<(char)'o'> (this=0x7ffdd62c47f0, v=..., check=true) at /home/dvl/motri/mruby/build/mrbgems/mruby-marshal/src/marshal.cpp:191
#4  0x00000000004bd439 in (anonymous namespace)::write_context::marshal (this=0x7ffdd62c47f0, v=..., limit=-2) at /home/dvl/motri/mruby/build/mrbgems/mruby-marshal/src/marshal.cpp:252
#5  0x00000000004bf7b7 in (anonymous namespace)::marshal_dump (M=0x2a7f3c0) at /home/dvl/motri/mruby/build/mrbgems/mruby-marshal/src/marshal.cpp:678
#6  0x000000000046ddc8 in mrb_vm_exec (mrb=0x2a7f3c0, proc=0x2e18f10, pc=0x2e432d0) at /home/dvl/motri/mruby/src/vm.c:1325
#7  0x000000000046c01a in mrb_vm_run (mrb=0x2a7f3c0, proc=0x2e18f10, self=..., stack_keep=5) at /home/dvl/motri/mruby/src/vm.c:861
#8  0x000000000047489b in mrb_top_run (mrb=0x2a7f3c0, proc=0x2e18f10, self=..., stack_keep=0) at /home/dvl/motri/mruby/src/vm.c:2748
#9  0x0000000000485da0 in mrb_load_exec (mrb=0x2a7f3c0, p=0x2e365e0, c=0x2e36400) at /home/dvl/motri/mruby/mrbgems/mruby-compiler/core/parse.y:5780
#10 0x0000000000485e16 in mrb_load_file_cxt (mrb=0x2a7f3c0, f=0x2e361b0, c=0x2e36400) at /home/dvl/motri/mruby/mrbgems/mruby-compiler/core/parse.y:5789
#11 0x0000000000446788 in main (argc=2, argv=0x7ffdd62c5398) at /home/dvl/motri/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c:227

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.