Mailinglist Archive: yast-devel (50 mails)

< Previous Next >
Re: [yast-devel] Getting error: cannot load such file -- yast/rake
  • From: Ancor Gonzalez Sosa <ancor@xxxxxxx>
  • Date: Tue, 15 Dec 2015 08:59:11 +0100
  • Message-id: <566FC84F.1090406@suse.de>
On 12/15/2015 08:52 AM, Uzair Shamim wrote:
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)

This file is part of the package ruby2.1-rubygem-yast-rake (or the
equivalent ruby2.2-xx one).


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



--
Ancor González Sosa
YaST Team at SUSE Linux GmbH
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References