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

timetrap broken after latest mac update #213

Closed
chadams opened this issue Jun 7, 2022 · 2 comments
Closed

timetrap broken after latest mac update #213

chadams opened this issue Jun 7, 2022 · 2 comments

Comments

@chadams
Copy link

chadams commented Jun 7, 2022

chadams:~ chadams$ timetrap --help
Traceback (most recent call last):
	8: from /usr/local/bin/timetrap:23:in `<main>'
	7: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:303:in `activate_bin_path'
	6: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:303:in `synchronize'
	5: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:304:in `block in activate_bin_path'
	4: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1420:in `activate'
	3: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1438:in `activate_dependencies'
	2: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1438:in `each'
	1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1449:in `block in activate_dependencies'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'sqlite3' (~> 1.4.2) - did find: [sqlite3-1.3.13] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/Users/chadams/.gem/ruby/2.6.0:/Library/Ruby/Gems/2.6.0:/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0', execute `gem env` for more information
@categulario
Copy link
Collaborator

I think this is a problem every once in a while...

@chadams
Copy link
Author

chadams commented Jun 8, 2022

looks like after latest mac update something got borked with pre-installed ruby. I was able to fix my brew install ruby and then modifying my .bash_profile to include export PATH="/usr/local/lib/ruby/gems/3.1.0/bin:$PATH"

@chadams chadams closed this as completed Jun 8, 2022
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