Skip to content
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

ruby_executable_hooks: No such file or directory #18

Closed
luctaesch opened this issue Oct 11, 2018 · 3 comments
Closed

ruby_executable_hooks: No such file or directory #18

luctaesch opened this issue Oct 11, 2018 · 3 comments

Comments

@luctaesch
Copy link

i am running into a hook issue when trying the basic workflow file. any ideas what it could be ? ( just reinstall brew on mojave. note that I have rvm installed. see the path).

would you have a test file to make sure my prerequise are ok ? ( like a .spec for TDD)

===------ Final ENV PATH: ------===
/Users/luc_taesch/bin:/usr/local/bin:/Library/TeX/texbin:/Users/luc_taesch/.rbenv/shims:/Users/luc_taesch/.rvm/wrappers/default:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/Scrivener 3.app/Contents/Resources/MultiMarkdown/bin
===------ TOOL PATHS: ------===
---pandoc: /usr/local/bin/pandoc | V: 2.1.3
---pandocomatic: /usr/local/bin/pandocomatic | V:
---ruby: /usr/local/bin/ruby | V: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
---rbenv: /usr/local/bin/rbenv
---python: /usr/bin/python
---xelatex: /Library/TeX/texbin/xelatex

… running pandocomatic, please wait …
===------ COMMAND OUTPUT: ------===
:: Running: /usr/local/bin/pandocomatic -c pandocomatic.yaml --debug Workflow.md
::: env: ruby_executable_hooks: No such file or directory
:: exit status: pid 2835 exit 127

!!!---scrivomatic::runCommand() RETURN non-zero value: /usr/local/bin/pandocomatic -c pandocomatic.yaml --debug Workflow.md !!!

@luctaesch
Copy link
Author

when running by hand
'gem install pandocomatic'
i had a lot of gem pristine bla warning .

had to fix them by hand, as gem pristine --all stopped before the end.

( note : this is after a mojave upgrade, in case it matters. not sure) . rbenv was reinstalled also .

consider the #18 closed, see #19 instead

Ignoring debug_inspector-0.0.3 because its extensions are not built. Try: gem pristine debug_inspector --version 0.0.3
Ignoring ffi-1.9.18 because its extensions are not built. Try: gem pristine ffi --version 1.9.18
Ignoring gem-wrappers-1.2.7 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.2.7
Ignoring looksee-4.0.0 because its extensions are not built. Try: gem pristine looksee --version 4.0.0
Ignoring nio4r-2.1.0 because its extensions are not built. Try: gem pristine nio4r --version 2.1.0
Ignoring nokogiri-1.8.0 because its extensions are not built. Try: gem pristine nokogiri --version 1.8.0
Ignoring puma-3.9.1 because its extensions are not built. Try: gem pristine puma --version 3.9.1
Ignoring rainbow-2.2.2 because its extensions are not built. Try: gem pristine rainbow --version 2.2.2
Ignoring sqlite3-1.3.13 because its extensions are not built. Try: gem pristine sqlite3 --version 1.3.13
Ignoring websocket-driver-0.6.5 because its extensions are not built. Try: gem pristine websocket-driver --version 0.6.5
Error loading RubyGems plugin "/Users/luc_taesch/.rvm/gems/ruby-2.4.0@global/gems/gem-wrappers-1.2.7/lib/rubygems_plugin.rb": cannot load such file -- gem-wrappers (LoadError)
Successfully installed pandocomatic-0.2.3.0
Parsing documentation for pandocomatic-0.2.3.0
Done installing documentation for pandocomatic after 0 seconds
1 gem installed

@iandol
Copy link
Owner

iandol commented Oct 27, 2018

Hi, I think this happens in Mojave because the Command line developer tools are not upgraded. When I upgrade manually then I stop seeing these Ignoring XXX because its extensions are not built errors

@luctaesch
Copy link
Author

My mistake. all these 3 issues were linked to a unproper path setup .
1/ I removed rvm ( to make sure no issues with rbenv, plus
2/ I had to delete an install of pandocomadic in /usr/bin/local to make sure it finds the one in shims.
3/please note that the path you use in scrivomatic put /usr/bin/local before the rbenv shims one, when a default install do the reverse . is is on purpose ?)
Many thanks anyway for the effort , quite useful tool .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants