[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@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
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@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On 12/15/2015 02:59 AM, Ancor Gonzalez Sosa wrote:
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).
That solved it! Is there a reason that wasn't mentioned on the dev page? Thanks, Uzair Shamim -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (2)
-
Ancor Gonzalez Sosa
-
Uzair Shamim