KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
CRuby
★ 20
Open GitHub ↗
ruby.h on Swift.
Download README (.md)
Explore Similar Repositories
hydrocarbon
:
not just an rss reader
g1-ata-25
:
G1-ATA interface for embedding 2.5" ATA hard disks inside the Dreamcast console
administrate-field-ckeditor
:
A plugin for adding CKEditor support to Administrate
oscript-component-example
:
Пример внешней компоненты для Односкрипта
adaptjs
:
a javascript wrapper for MycroftAI/adapt
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
CRuby
?
Download (.md)
# Ruby Swift Package Imports `ruby.h` on Swift. **Tested on OSX 10.11, on `ruby 2.2.5` installed via [rbenv](https://github.com/rbenv/rbenv)** #Usage ```Swift import PackageDescription let package = Package( name: "example", dependencies: [ .Package(url: "https://github.com/marciok/CRuby", majorVersion: 1) ] ) ``` #Build `swift build -Xcc -I$RBENV_ROOT/versions/2.2.5/include/ruby-2.2.0 -Xcc -I$RBENV_ROOT/versions/2.2.5/include/ruby-2.2.0/x86_64-darwin15 -Xlinker -L$RBENV_ROOT/versions/2.2.5/lib` **If you get the error: `undefined symbols for architecture x86_64: "_rb_funcallv", referenced from...` [You will need to recompile your ruby](http://stackoverflow.com/a/36913407/1970675)**