[ 已解决 ] 安装程序启动不起来

原来是我用rvm安装了ruby,安装不再使用系统自带的了gem install fast_gettext就好了

yast2的命令没有问题就图形界面打不开,修改repo的图形界面也打不开,日志里有报错:

2014-01-04 10:04:30 <1> opensuse.com(27029) [liby2] genericfrontend.cc(main):778 Finished YaST2 component 'y2base'
2014-01-04 10:04:30 <1> opensuse.com(27029) [liby2] genericfrontend.cc(main):783 Exiting with client return value 'nil'
2014-01-04 10:04:30 <1> opensuse.com(27029) [Y2Ruby] binary/YRuby.cc(~YRuby):107 Shutting down ruby interpreter.
2014-01-04 10:07:04 <1> opensuse.com(31506) [liby2] genericfrontend.cc(main):575 Launched YaST2 component 'y2base' 'sw_single' 'qt'
2014-01-04 10:07:04 <1> opensuse.com(31506) [ui-component] YUIComponentCreator.cc(createInternal):124 Creating UI component for ""
2014-01-04 10:07:04 <1> opensuse.com(31506) [liby2] genericfrontend.cc(main):764 YAST_IS_RUNNING is yes
2014-01-04 10:07:04 <3> opensuse.com(31506) [Y2Ruby] binary/YRuby.cc(callClient):238 cannot require yast:cannot load such file -- fast_gettext at /usr/lib64/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
2014-01-04 10:07:04 <1> opensuse.com(31506) [liby2] genericfrontend.cc(main):778 Finished YaST2 component 'y2base'
2014-01-04 10:07:04 <1> opensuse.com(31506) [liby2] genericfrontend.cc(main):783 Exiting with client return value 'false'

强制重装了rubygem-fast_gettext也不行,disable所有的repo只留oss,nonoss,update,non-oss update再zypper dup也不行

1赞

碰到了同样问题,感谢楼主 :stuck_out_tongue_closed_eyes:

为什么刚开始没有问题?就是 rvm 安装 ruby 之后有一段时间是没有问题的,后来是系统更新了 ruby 才出现这种情况,望解答