A czy jeśli pobrałem kod ze strony GitHuba na dysk i edytuję go w np Notepad PlusPlus potrzebuję Visual studio? Czy starczy mi sam Ruby do kompilacji i uruchomienia? Wiecie, mam zbyt słaby komputer na VS.
Sygnatura to może być w sądzie. Sygnatura sprawy np. :P
Zainstalowałem zgodnie z tutorialem. Zaproponowano mi pobranie ruby 3.0.2, więc pobrałem i zainstalowałem. Następnie przy rake key dostałem info, że wymagana jest wersja 3.0.1. Zmieniłem to w rakefile. Rake key się powiodło. Samo rake niestety nie. rake aborted! Fiddle::DLError: Failed to open any of these shared object files: liblzma.so.5, liblzma.so, liblzma.5.dylib, liblzma.dylib, liblzma :160:in `require' :160:in `rescue in require' :149:in `require' D:/sources/elten/Elten2/rakefile:98:in `block (2 levels) in ' D:/sources/elten/Elten2/rakefile:95:in `each' D:/sources/elten/Elten2/rakefile:95:in `block in ' D:/sources/elten/Elten2/rakefile:526:in `block in ' D:/sources/elten/Elten2/rakefile:572:in `block in '
Tak x86. Dokładnie: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [i386-mingw32]
rake próbuje instalować te xz i tak jakby mu się to udaje, a później ten error. Version 1.0.0 of ruby-xz breaks the API. Read HISTORY.rdoc and adapt your code to the new API. Successfully installed ruby-xz-1.0.0 Parsing documentation for ruby-xz-1.0.0 Done installing documentation for ruby-xz after 0 seconds 1 gem installed
I później mamy: d:/Ruby30/lib/ruby/gems/3.0.0/gems/ruby-xz-1.0.0/lib/xz.rb:40: warning: already initialized constant XZ::CHUNK_SIZE d:/Ruby30/lib/ruby/gems/3.0.0/gems/ruby-xz-1.0.0/lib/xz.rb:40: warning: previous definition of CHUNK_SIZE was here rake aborted! Fiddle::DLError: Failed to open any of these shared object files: liblzma.so.5, liblzma.so, liblzma.5.dylib, liblzma.dyl ib, liblzma :85:in `require' :85:in `require' D:/sources/elten/Elten2/rakefile:98:in `block (2 levels) in ' D:/sources/elten/Elten2/rakefile:95:in `each' D:/sources/elten/Elten2/rakefile:95:in `block in ' D:/sources/elten/Elten2/rakefile:526:in `block in ' D:/sources/elten/Elten2/rakefile:572:in `block in ' Tasks: TOP => agent (See full trace by running task with --trace)
Ciekawe czemu chowają bo i na stronie downloads i releases githubowej nie ma do pobrania tej 3.0.1, na szczęście przez odpowiednią modyfikację linka do exeka 3.0.2 udało się pobrać starszą. Właśnie się instaluje.