Dennis Damas

Joined

1,520 Experience
15 Lessons Completed
0 Questions Solved

Activity

Thank you buddy this really saved my day

I'm getting this error Please help
userpc@iDenniscialsAir scheduled_tweets % bundle
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Installing bcrypt 3.1.19 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native
extension.

current directory:
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bcrypt-3.1.19/ext/mri
/Users/userpc/.rbenv/versions/3.2.2/bin/ruby extconf.rb
creating Makefile

current directory:
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bcrypt-3.1.19/ext/mri
make DESTDIR= sitearchdir=./.gem.20230828-54682-3vn48u
sitelibdir=./.gem.20230828-54682-3vn48u clean
xcrun: error: invalid active developer path
(/Library/Developer/CommandLineTools), missing xcrun at:
/Library/Developer/CommandLineTools/usr/bin/xcrun

current directory:
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bcrypt-3.1.19/ext/mri
make DESTDIR= sitearchdir=./.gem.20230828-54682-3vn48u
sitelibdir=./.gem.20230828-54682-3vn48u
xcrun: error: invalid active developer path
(/Library/Developer/CommandLineTools), missing xcrun at:
/Library/Developer/CommandLineTools/usr/bin/xcrun

make failed, exit code 1

Gem files will remain installed in
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bcrypt-3.1.19
for inspection.
Results logged to
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/extensions/x86_64-darwin-20/3.2.0/bcrypt-3.1.19/gem_make.out

/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:119:in
run'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:53:in
block in make'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:45:in
each'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:45:in
make'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:42:in
build'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:187:in
build_extension'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:221:in
block in build_extensions'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:218:in
each'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:218:in
build_extensions'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/installer.rb:846:in
build_extensions'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/rubygems_gem_installer.rb:72:in
build_extensions'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/rubygems_gem_installer.rb:28:in
install'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/source/rubygems.rb:202:in
install'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/installer/gem_installer.rb:54:in
install'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/installer/gem_installer.rb:16:in
install_from_spec'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/installer/parallel_installer.rb:156:in
do_install'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/installer/parallel_installer.rb:147:in
block in worker_pool'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/worker.rb:62:in
apply_func'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/worker.rb:57:in
block in process_queue'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/worker.rb:54:in
loop'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/worker.rb:54:in
process_queue'
/Users/userpc/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/worker.rb:90:in
block (2 levels) in create_threads'

An error occurred while installing bcrypt (3.1.19),
and Bundler cannot continue.