Page 1 of 1
How to actually use a ruby gem
Posted: Fri Feb 05, 2016 2:11 am
by Quentin
I have been trying to parse some JSON, there are ruby gems available which I should be able to employ?
Can someone provide a walkthrough on adding a gem. I have tried quite a few permutations and read all docs that I can find to no avail.
Thanks so much,
Quentin
Re: How to actually use a ruby gem
Posted: Fri Feb 05, 2016 6:38 am
by Tronic
Not simply, but not impossible....
You have to make an full Ruby MRI environment, compiled with the Visual Studio vc90,
after that, you can add your gem to the ruby env,
if the gem probably need to compile some library .so,
and after, you can use it in FS,
requiring in FS all the file that it require to work.
But remember, if you want use it in your app, you have to attach an distribute all the file with it,
and work only in the standalone exported version, in vst it can't require external .so file.
Re: How to actually use a ruby gem
Posted: Fri Feb 05, 2016 8:44 am
by tulamide
The gem system is not part of this Ruby install. So you have to install all folders/files manually.
You can only use gems that were compiled with Visual Studio (which is rare)
You can't use gems in VST plugins, only in standalones.
Re: How to actually use a ruby gem
Posted: Fri May 27, 2016 7:02 pm
by aronb
Question...
Is there a tutorial somewhere that outlines how to add a gem (or gems) step by step (file locations, what needs to be added, etc.) to the Flowstone Ruby install ? (Widows 7 x64 or x32 would be typical)
And also how to set up the version (?) of Visual Studio to compile them properly ?
Thanks