Hi, can anyone point me to the C documentation so that i can embed ruby in my c++ application and be able to use installed gems ? I have a minimal example that works, but when I try to require redcarpet it throw an exception telling it can't load the specified file
ok, here is it https://gist.github.com/pasnox/abe02cd3f744e28f94650d6aea4b5be3
so, it looks like that gems path are not added to the interpreter, ruby_incpush("/usr/lib/ruby/gems/2.5.0/gems/redcarpet-3.4.0/lib"); fix my issues, but i would like to avoid such hard coding. any idea ?
Hi all. Yesterday i upgraded my system to a new distribution version, that broken stuff in ruby. I did delete the content of vendor/ruby/2.0.0/gems and vendor/ruby/2.0.0/cache from /home/git/gitlab and the .bundle folder. Now i can no longer reinstall / rebuild the gems. What i can do to bring them back ?
when i start the bundle install, it tell me they are installed while they are not. any hinfos please?
jhass: yeah,n i found command for correct things after having deleted stuff :/