Registry / other / rice
library4.12.0rbrubygemsunverified

Rice is a C++ interface to Ruby's C API, providing a type-safe and exception-safe interface for embedding Ruby and writing Ruby extensions with C++.

gem install rice
INSTALL
IMPORT
SIG · RICE
R
rice
otherrubyv4.12.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rice
require 'rice'

Define a Ruby class in C++ using Rice and expose it to Ruby.

require 'rice' # Example C++ extension code would be in a .cpp file: // #include <rice/rice.hpp> // using namespace Rice; // define_class<MyClass>("MyClass").define_method("hello", &MyClass::hello);
Debug
Known issues
gotchaRice requires a C++ compiler and Ruby development headers to build.
fix
Install build-essential and ruby-dev packages before installing the gem.
affects: >= 4.0.0
Upgrade
Version history
4.12.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
rice — gem install rice · libregistry