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

error ERROR: Failed to build gem native extension. use Alfred4 #5

Open
iT-Boyer opened this issue Nov 25, 2020 · 1 comment
Open

error ERROR: Failed to build gem native extension. use Alfred4 #5

iT-Boyer opened this issue Nov 25, 2020 · 1 comment

Comments

@iT-Boyer
Copy link

gem pristine ffi --version 1.12.2
gem pristine sassc --version 2.3.0
gem pristine unf_ext --version 0.0.7.6
gem pristine redcarpet --version 3.5.0

15:48:50.535] Omnifocus Create[Script Filter] Queuing argument 'j'
[15:48:50.724] Omnifocus Create[Script Filter] Script with argv '(null)' finished
[15:48:50.739] ERROR: Omnifocus Create[Script Filter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- alfred (LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from ./main.rb:9:in `<main>'
@iT-Boyer
Copy link
Author

iT-Boyer commented Nov 25, 2020

sudo gem install rb-appscript

Building native extensions. This could take a while...
ERROR:  Error installing rb-appscript:
	ERROR: Failed to build gem native extension.

    current directory: /Library/Ruby/Gems/2.6.0/gems/rb-appscript-0.6.1
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20201125-15532-1e59fo5.rb extconf.rb

*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/$(RUBY_BASE_NAME)
extconf.rb:44:in `<main>': uninitialized constant Config (NameError)
Did you mean?  RbConfig
               CONFIG

extconf failed, exit code 1

Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/rb-appscript-0.6.1 for inspection.
Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-20/2.6.0/rb-appscript-0.6.1/gem_make.out

@iT-Boyer iT-Boyer changed the title error use Alfred4 error ERROR: Failed to build gem native extension. use Alfred4 Nov 25, 2020
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

1 participant