Portál AbcLinuxu, 12. května 2025 14:02
hurvajs@spejbl ~/Downloads/timetrap-master/bin $ ./t cannot load such file -- timetrap: ["/usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'", "/usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'", "./t:3:in `<main>'"]
gem install timetrap
hurvajs@spejbl ~/Downloads/timetrap-master/bin $ ./tto spouštíš nějakou binárku někde v tvých Downloads, tam by ti to určitě balíčkovací manager nenainstaloval. Dost pravděpodobně chybí nějaké zavislosti.
hurvajs@spejbl ~/Source/Downloads/timetrap-master $ gem install timetrap Successfully installed timetrap-1.8.14 Parsing documentation for timetrap-1.8.14 /usr/lib64/ruby/gems/2.2.0/gems/rdoc-4.1.2/lib/rdoc/method_attr.rb:118: warning: Comparable#== will no more rescue exceptions of #<=> in the next release. /usr/lib64/ruby/gems/2.2.0/gems/rdoc-4.1.2/lib/rdoc/method_attr.rb:118: warning: Return nil in #<=> if the comparison is inappropriate or avoid such comparison. /usr/lib64/ruby/gems/2.2.0/gems/rdoc-4.1.2/lib/rdoc/method_attr.rb:118: warning: Comparable#== will no more rescue exceptions of #<=> in the next release. /usr/lib64/ruby/gems/2.2.0/gems/rdoc-4.1.2/lib/rdoc/method_attr.rb:118: warning: Return nil in #<=> if the comparison is inappropriate or avoid such comparison. /usr/lib64/ruby/gems/2.2.0/gems/rdoc-4.1.2/lib/rdoc/method_attr.rb:118: warning: Comparable#== will no more rescue exceptions of #<=> in the next release. /usr/lib64/ruby/gems/2.2.0/gems/rdoc-4.1.2/lib/rdoc/method_attr.rb:118: warning: Return nil in #<=> if the comparison is inappropriate or avoid such comparison. /usr/lib64/ruby/gems/2.2.0/gems/rdoc-4.1.2/lib/rdoc/method_attr.rb:118: warning: Comparable#== will no more rescue exceptions of #<=> in the next release. /usr/lib64/ruby/gems/2.2.0/gems/rdoc-4.1.2/lib/rdoc/method_attr.rb:118: warning: Return nil in #<=> if the comparison is inappropriate or avoid such comparison. /usr/lib64/ruby/gems/2.2.0/gems/rdoc-4.1.2/lib/rdoc/method_attr.rb:118: warning: Comparable#== will no more rescue exceptions of #<=> in the next release. /usr/lib64/ruby/gems/2.2.0/gems/rdoc-4.1.2/lib/rdoc/method_attr.rb:118: warning: Return nil in #<=> if the comparison is inappropriate or avoid such comparison. Done installing documentation for timetrap after 0 seconds 1 gem installed hurvajs@spejbl ~/Source/Downloads/timetrap-master $ timetrap bash: timetrap: command not found hurvajs@spejbl ~/Source/Downloads/timetrap-master $ t bash: t: command not found hurvajs@spejbl ~/Downloads/timetrap-master $ gem list --local *** LOCAL GEMS *** chronic (0.10.2) json (1.8.2) minitest (5.4.3) power_assert (0.2.2) racc (1.4.12) rake (10.4.2) rdoc (4.1.2) sequel (4.0.0) sqlite3 (1.3.10) test-unit (3.0.8) timetrap (1.8.14)Ruby dělalo vždy jen problémy co pamatuji a nikdy se mi nepovedlo v něm nic rozjet. Přijde mi, že do Ruby muselo dělat MS, horší pajazyk jsem snad neviděl...
gem env
hurvajs@spejbl ~ $ gem env RubyGems Environment: - RUBYGEMS VERSION: 2.4.5 - RUBY VERSION: 2.2.0 (2014-12-25 patchlevel 0) [x86_64-linux] - INSTALLATION DIRECTORY: /home/hurvajs/.gem/ruby/2.2.0 - RUBY EXECUTABLE: /usr/bin/ruby22 - EXECUTABLE DIRECTORY: /home/hurvajs/.gem/ruby/2.2.0/bin - SPEC CACHE DIRECTORY: /home/hurvajs/.gem/specs - SYSTEM CONFIGURATION DIRECTORY: /etc - RUBYGEMS PLATFORMS: - ruby - x86_64-linux - GEM PATHS: - /home/hurvajs/.gem/ruby/2.2.0 - /usr/local/lib64/ruby/gems/2.2.0 - /usr/lib64/ruby/gems/2.2.0 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - https://rubygems.org/ - SHELL PATH: - /usr/local/bin - /usr/bin - /bin - /opt/bin - /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.2 - /usr/lib64/subversion/bin
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.