当我尝试运行我的应用程序时,出现以下错误:
Could not find racc-1.5.2 in any of the sources
Run `bundle install` to install missing gems.
Run Code Online (Sandbox Code Playgroud)
我跑:
$ bundle install
Run Code Online (Sandbox Code Playgroud)
回复:
Your user account isn't allowed to install to the system RubyGems.
You can cancel this installation and run:
bundle config set --local path 'vendor/bundle'
bundle install
Run Code Online (Sandbox Code Playgroud)
$ 输入密码两次(系统询问两次)
回复:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /var/folders/_b/7g9qk9qn2tbc7m16nsnj7jww0000gn/T/bundler20210303-5388-861puoracc-1.5.2/gems/racc-1.5.2/ext/racc/cparse
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /Library/Ruby/Site/2.6.0 -r ./siteconf20210303-5388-1sxj4i7.rb extconf.rb
checking for rb_ary_subseq()... *** extconf.rb failed ***
Could not create Makefile due …Run Code Online (Sandbox Code Playgroud)