If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
How to actually use a ruby gem
4 posts
• Page 1 of 1
How to actually use a ruby gem
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
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
- Quentin
- Posts: 37
- Joined: Sat Jul 14, 2012 5:35 am
Re: How to actually use a ruby gem
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.
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.
- Tronic
- Posts: 539
- Joined: Wed Dec 21, 2011 12:59 pm
Re: How to actually use a ruby gem
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.
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.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: How to actually use a ruby gem
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
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
-
aronb - Posts: 154
- Joined: Sun Apr 17, 2011 3:08 am
- Location: Florida, USA
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 89 guests