yast / yast-migration-sle

GNU General Public License v2.0
0 stars 1 forks source link

Running tool from git throws ann erorr on Leap 15.4 #7

Open lkocman opened 2 years ago

lkocman commented 2 years ago

I suppose this will be some sort of ruby equivalent of missing path to yast libs in PYTHONPATH. Perhaps we need to tweak docs on how to run it or fix rakefile

lkocman@localhost:~/yast-migration-sle> rpm -qa | grep yast | egrep "registration|migration"
yast2-registration-4.4.17-150400.1.1.noarch
yast2-migration-sle-4.4.0.pre1-lp154.1.1.noarch
yast2-migration-4.4.1-150400.1.2.noarch

lkocman@localhost:~/yast-migration-sle> git log  --pretty=oneline | head -1
da9e173307651eac1a16cfad0f9a6ec8dd2e488e CI: install build dependencies

lkocman@localhost:~/yast-migration-sle> ls
COPYING  doc  package  Rakefile  README.md  RPMNAME  src  test
lkocman@localhost:~/yast-migration-sle> rake run
rake aborted!
LoadError: cannot load such file -- yast/rake
/home/lkocman/yast-migration-sle/Rakefile:1:in `<top (required)>'
(See full trace by running task with --trace)
lkocman@localhost:~/yast-migration-sle> sudo rake run
rake aborted!
LoadError: cannot load such file -- yast/rake
/home/lkocman/yast-migration-sle/Rakefile:1:in `<top (required)>'
(See full trace by running task with --trace)
lslezak commented 2 years ago

Ah, you need to install the ruby*-rubygem-yast-rake package, e.g. zypper install "rubygem(yast-rake)"

I'll update the documentation later...