On Wed, 25 Sep 2013 22:16:53 +0200 Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
Hi Josef,
On Wed, Sep 25, 2013 at 8:50 AM, Josef Reidinger <jreidinger@suse.cz> wrote:
Really strange, something must be work. I am using 13.1 and it works for me. Can you try simple run irb require "fast_gettext"
e6510:/etc/zypp/repos.d # irb 2.0.0-p247 :001 > require "fast_gettext" LoadError: cannot load such file -- fast_gettext from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from (irb):1 from /usr/local/rvm/rubies/ruby-2.0.0-p247/bin/irb:13:in `<main>'
line 45 in that file says:
if Gem::Specification.unresolved_deps.empty? then 45-> return gem_original_require(path) end
? also few details about your ruby environment can help like if you using rvm, rbenv or if you are using standard MRI or different version.
Now that I remember, I was learning a bit of ruby from a book back when I was in 12.3 and it had me execute
curl -L https://get.rvm.io | bash -s stable --ruby ruby install 1.9.3 rvm use 1.9.3 --default
could this be the root cause?
However e6510:/etc/zypp/repos.d # ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
Repository: Main Repository (OSS) Name: ruby Version: 2.0-4.1 Arch: x86_64 Vendor: openSUSE
Interesting, looks like you use ruby with disabled rubygems support. You can verify it if you try irb require "rubygems" require "fast_gettext" if it works, then it means, that your ruby is without build-in rubygems support. In such case it is out of our support as we depend on such ruby feature. If it doesn't work, then something is wrong, like that gem is installed inside your rvm instead to system, or yast use bad directories, in such case we can investigate it further. Josef -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org