samg / timetrap

Simple command line timetracker
http://rubygems.org/gems/timetrap
Other
1.48k stars 116 forks source link

Timetrap fails with recent sqlite3 #177

Closed jostber closed 4 years ago

jostber commented 5 years ago

Timetrap gives this error if running with new sqlite3 v.1.4.0:

Traceback (most recent call last): 8: from /usr/bin/t:23:in <main>' 7: from /usr/lib64/ruby/2.6.0/rubygems.rb:303:inactivate_bin_path' 6: from /usr/lib64/ruby/2.6.0/rubygems.rb:303:in synchronize' 5: from /usr/lib64/ruby/2.6.0/rubygems.rb:304:inblock in activate_bin_path' 4: from /usr/lib64/ruby/2.6.0/rubygems/specification.rb:1420:in activate' 3: from /usr/lib64/ruby/2.6.0/rubygems/specification.rb:1438:inactivate_dependencies' 2: from /usr/lib64/ruby/2.6.0/rubygems/specification.rb:1438:in each' 1: from /usr/lib64/ruby/2.6.0/rubygems/specification.rb:1449:inblock in activate_dependencies' /usr/lib64/ruby/2.6.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'sqlite3' (~> 1.3.3) - did find: [sqlite3-1.4.0] (Gem::MissingSpecVersionError)

jostber commented 5 years ago

Changing to "s.add_runtime_dependency(%q.freeze, ["~> 1.4.0"])" in /usr/lib64/ruby/gems/2.6.0/specifications/timetrap-1.15.1.gemspec works.

berkes commented 4 years ago

I've updated all dependencies and fixed the issues from that in https://github.com/samg/timetrap/pull/180