Mailinglist Archive: yast-devel (50 mails)

< Previous Next >
[yast-devel] Getting error: cannot load such file -- yast/rake
Hi,

I am getting into trying yast development and followed the setup instructions
at https://yastgithubio.readthedocs.org/en/latest/development/

I am running TW, updated to latest snapshot and have installed yast2-devtools,
yast2-testsuite rubygem-rspec rubygem-simplecov, and pattern devel_yast.
I am attempting to run "rake run" in the root of the yast-storage directory and
I get the following error:

(in /home/user/Development/opensuse/yast-storage)
rake aborted!
cannot load such file -- yast/rake
/home/user/Development/opensuse/yast-storage/Rakefile:1:in `<top (required)>'
(See full trace by running task with --trace)

With --trace:

(in /home/user/Development/opensuse/yast-storage)
rake aborted!
cannot load such file -- yast/rake
/usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/home/gum/Downloads/Development/opensuse/yast-storage/Rakefile:1:in `<top
(required)>'
/usr/lib64/ruby/2.1.0/rake/rake_module.rb:25:in `load'
/usr/lib64/ruby/2.1.0/rake/rake_module.rb:25:in `load_rakefile'
/usr/lib64/ruby/2.1.0/rake/application.rb:637:in `raw_load_rakefile'
/usr/lib64/ruby/2.1.0/rake/application.rb:94:in `block in load_rakefile'
/usr/lib64/ruby/2.1.0/rake/application.rb:165:in `standard_exception_handling'
/usr/lib64/ruby/2.1.0/rake/application.rb:93:in `load_rakefile'
/usr/lib64/ruby/2.1.0/rake/application.rb:77:in `block in run'
/usr/lib64/ruby/2.1.0/rake/application.rb:165:in `standard_exception_handling'
/usr/lib64/ruby/2.1.0/rake/application.rb:75:in `run'
/usr/bin/rake:33:in `<main>'


Can someone help me troubleshoot this? I am new to YaST and ruby so I am a bit
lost on how this works.

Thanks,
Uzair Shamim
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups