-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metanorma/eccma-iso-scor-vocab#1 embed Gemfile into metanroma script #151
Conversation
CAMOBAP
commented
Feb 15, 2022
- metanorma/eccma-iso-scor-vocab#1
- OCRA bundler issues #100
Issue encountered on macOS:
|
2b04b0f
to
7515995
Compare
@maxirmx do we have any restrictions/expectations about the version of I'm asking because when I build temtebako locally I get this error
|
7515995
to
3647b57
Compare
We use dwarfs that uses specific verion of fbthrift. I suspect issues with incompatible C++ standart applied. The author of dwarfs wrote that he developed it to try all newest C++ feature so it is fragile. What compiler are you running ? |
@maxirmx would you have time to help resolve this error? This causes packed-mn not to be able to run at https://github.com/metanorma/eccma-iso-scor-vocab/issues/1 . Thanks! |
@maxirmx I feel like I need your help here. I have checked flags and Let me describe the original problem: binary from Tebako breaks if We need somehow embed Gemfile into binary, probably with the definition |
@CAMOBAP but can we just remove the Gemfile, and have Tebako Ruby ignore any local Gemfile? |
@CAMOBAP @ronaldtse
Is it correct understanding ?
|
It cannot open libsass.bundle and after that goes build it from Gemfile
|
If I understand it correctly, when 'bundler/inline' is used it automatically installs any missing gems and then requires them.
the sequence is different. Probably we shall try something like
Not sure if it can be splitted this way at all
This is the patch that I apply
It can be fixes but it is against initial idea to maintain 'Ruby jail' |
@maxirmx I believe the packed Ruby should not support external gems that are not packaged. This goes against the original logic of jailing Ruby. |
I agree. Support of external gems will deflate the whole idea Can you please explain me the original issue with gemfile in cwd ? What shall I do to reproduce it locally ? |
+1, this is against the packed-mn idea
I don't have many technical details, but if Gemfile in cwd,
Just clone repo https://github.com/metanorma/eccma-iso-scor-vocab/ locally and try execute |
This is the beginning of metanorma script
require 'bundler/setup' discovers Gemfile and puts all of the gems on the load path |