[opensuse-factory] yast dependencies
Hi, I've upgraded from 12.3 to 13.1 but unfortunately, yast won't load. It looks like the culprit is 2013-09-20 14:05:03 <3> e6510.site(15413) [Y2Ruby] binary/YRuby.cc(callClient):235 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' Do we have any information on the new requirements for yast? Thanks, Al -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 20.09.2013 20:58, schrieb Alejandro Bonilla:
Hi,
I've upgraded from 12.3 to 13.1 but unfortunately, yast won't load. It looks like the culprit is
2013-09-20 14:05:03 <3> e6510.site(15413) [Y2Ruby] binary/YRuby.cc(callClient):235 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'
Do we have any information on the new requirements for yast?
Thanks, Al
What does rpm -V yast2-ruby-bindings-3.0.0 output? And how exactly did you upgrade? Greetings, Stephan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, On Sun, Sep 22, 2013 at 5:32 PM, Stephan Kulow <coolo@suse.de> wrote:
Am 20.09.2013 20:58, schrieb Alejandro Bonilla:
Hi,
I've upgraded from 12.3 to 13.1 but unfortunately, yast won't load. It looks like the culprit is
2013-09-20 14:05:03 <3> e6510.site(15413) [Y2Ruby] binary/YRuby.cc(callClient):235 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'
Do we have any information on the new requirements for yast?
Thanks, Al
What does rpm -V yast2-ruby-bindings-3.0.0 output?
nothing. e6510:~ # rpm -V yast2-ruby-bindings-3.0.0 e6510:~ # zypper in yast2-ruby-bindings-3.0.0 Loading repository data... Reading installed packages... 'yast2-ruby-bindings = 3.0.0' is already installed. No update candidate for 'yast2-ruby-bindings-3.0.0-1.3.x86_64'. The highest available version is already installed. Resolving package dependencies... Nothing to do.
And how exactly did you upgrade?
I changed the repos.d/ oss and non-oss from 12.3 to 13.1 it looked like it was the same as factory-snapshot TIA -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 22.09.2013 20:45, Alejandro Bonilla wrote:
e6510:~ # rpm -V yast2-ruby-bindings-3.0.0 e6510:~ # zypper in yast2-ruby-bindings-3.0.0 Loading repository data... Reading installed packages... 'yast2-ruby-bindings = 3.0.0' is already installed. No update candidate for 'yast2-ruby-bindings-3.0.0-1.3.x86_64'. The highest available version is already installed. Resolving package dependencies...
Nothing to do. Hmm, so rubygem-fast_gettext should be there.
And how exactly did you upgrade?
I changed the repos.d/ oss and non-oss from 12.3 to 13.1 it looked like it was the same as factory-snapshot
Changing repo config hardly has any effect unless you do something afterwards. And I asked for *that* Greetings, Stephan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Dne 22.9.2013 20:45, Alejandro Bonilla napsal(a):
Hi,
On Sun, Sep 22, 2013 at 5:32 PM, Stephan Kulow <coolo@suse.de> wrote:
Am 20.09.2013 20:58, schrieb Alejandro Bonilla:
Hi,
I've upgraded from 12.3 to 13.1 but unfortunately, yast won't load. It looks like the culprit is
2013-09-20 14:05:03 <3> e6510.site(15413) [Y2Ruby] binary/YRuby.cc(callClient):235 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'
Do we have any information on the new requirements for yast?
Thanks, Al
What does rpm -V yast2-ruby-bindings-3.0.0 output?
nothing.
Strange, # rpm -q --requires yast2-ruby-bindings-3.0.0 ... ruby rubygem-fast_gettext Could you check whether rubygem-fast_gettext is installed correctly? -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Sep 23, 2013 at 10:26 AM, Ladislav Slezak <lslezak@suse.cz> wrote:
Dne 22.9.2013 20:45, Alejandro Bonilla napsal(a):
Hi,
On Sun, Sep 22, 2013 at 5:32 PM, Stephan Kulow <coolo@suse.de> wrote:
Am 20.09.2013 20:58, schrieb Alejandro Bonilla:
Hi,
I've upgraded from 12.3 to 13.1 but unfortunately, yast won't load. It looks like the culprit is
2013-09-20 14:05:03 <3> e6510.site(15413) [Y2Ruby] binary/YRuby.cc(callClient):235 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'
Do we have any information on the new requirements for yast?
Thanks, Al
What does rpm -V yast2-ruby-bindings-3.0.0 output?
nothing.
Strange,
# rpm -q --requires yast2-ruby-bindings-3.0.0 ... ruby rubygem-fast_gettext
Could you check whether rubygem-fast_gettext is installed correctly?>
rpm -V gives nothing zypper in -f rubygem-fast_gettext reinstalled it fine Repository: Main Repository (OSS) Name: rubygem-fast_gettext Version: 0.7.1-1.2 Arch: x86_64 Vendor: openSUSE Installed: Yes Status: up-to-date still the same issue 2013-09-23 21:33:51 <1> e6510.site(5795) [liby2] genericfrontend.cc(main):575 Launched YaST2 component 'y2base' 'menu' 'ncurses' 2013-09-23 21:33:51 <1> e6510.site(5795) [ui-component] YUIComponentCreator.cc(createInternal):124 Creating UI component for "" 2013-09-23 21:33:51 <1> e6510.site(5795) [liby2] genericfrontend.cc(main):764 YAST_IS_RUNNING is yes 2013-09-23 21:33:51 <3> e6510.site(5795) [Y2Ruby] binary/YRuby.cc(callClient):235 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' 2013-09-23 21:33:51 <1> e6510.site(5795) [liby2] genericfrontend.cc(main):780 Finished YaST2 component 'y2base' 2013-09-23 21:33:51 <1> e6510.site(5795) [liby2] genericfrontend.cc(main):785 Exiting with client return value 'nil' /usr/lib64/ruby/2.0.0/rubygems/core_ext/kernel_require.rb exists... and the permissions dont make a difference yast2 does "work" and I can see the different modules but once I click on them, I see the same error... :| what other clues? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 23 Sep 2013 21:41:01 +0200 Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
On Mon, Sep 23, 2013 at 10:26 AM, Ladislav Slezak <lslezak@suse.cz> wrote:
Dne 22.9.2013 20:45, Alejandro Bonilla napsal(a):
Hi,
On Sun, Sep 22, 2013 at 5:32 PM, Stephan Kulow <coolo@suse.de> wrote:
Am 20.09.2013 20:58, schrieb Alejandro Bonilla:
Hi,
I've upgraded from 12.3 to 13.1 but unfortunately, yast won't load. It looks like the culprit is
2013-09-20 14:05:03 <3> e6510.site(15413) [Y2Ruby] binary/YRuby.cc(callClient):235 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'
Do we have any information on the new requirements for yast?
Thanks, Al
What does rpm -V yast2-ruby-bindings-3.0.0 output?
nothing.
Strange,
# rpm -q --requires yast2-ruby-bindings-3.0.0 ... ruby rubygem-fast_gettext
Could you check whether rubygem-fast_gettext is installed correctly?>
rpm -V gives nothing zypper in -f rubygem-fast_gettext reinstalled it fine
Repository: Main Repository (OSS) Name: rubygem-fast_gettext Version: 0.7.1-1.2 Arch: x86_64 Vendor: openSUSE Installed: Yes Status: up-to-date still the same issue
2013-09-23 21:33:51 <1> e6510.site(5795) [liby2] genericfrontend.cc(main):575 Launched YaST2 component 'y2base' 'menu' 'ncurses' 2013-09-23 21:33:51 <1> e6510.site(5795) [ui-component] YUIComponentCreator.cc(createInternal):124 Creating UI component for "" 2013-09-23 21:33:51 <1> e6510.site(5795) [liby2] genericfrontend.cc(main):764 YAST_IS_RUNNING is yes 2013-09-23 21:33:51 <3> e6510.site(5795) [Y2Ruby] binary/YRuby.cc(callClient):235 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' 2013-09-23 21:33:51 <1> e6510.site(5795) [liby2] genericfrontend.cc(main):780 Finished YaST2 component 'y2base' 2013-09-23 21:33:51 <1> e6510.site(5795) [liby2] genericfrontend.cc(main):785 Exiting with client return value 'nil'
/usr/lib64/ruby/2.0.0/rubygems/core_ext/kernel_require.rb exists... and the permissions dont make a difference
yast2 does "work" and I can see the different modules but once I click on them, I see the same error...
:| what other clues?
OK, wild quest, there was problem with loading rubygems when you use more recent ruby-bindings, but it should affect only ruby-bindings 3.0.1 and 3.0.2 and is fixed in 3.0.3. So question is if you don't try own yast2-ruby-bindings. If you try the latest ruby-bindings from YaST:Head repo does it help? Josef -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, Sep 24, 2013 at 9:00 AM, Josef Reidinger <jreidinger@suse.cz> wrote:
On Mon, 23 Sep 2013 21:41:01 +0200 Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
On Mon, Sep 23, 2013 at 10:26 AM, Ladislav Slezak <lslezak@suse.cz> wrote:
Dne 22.9.2013 20:45, Alejandro Bonilla napsal(a):
Hi,
On Sun, Sep 22, 2013 at 5:32 PM, Stephan Kulow <coolo@suse.de> wrote:
Am 20.09.2013 20:58, schrieb Alejandro Bonilla:
Hi,
I've upgraded from 12.3 to 13.1 but unfortunately, yast won't load. It looks like the culprit is
2013-09-20 14:05:03 <3> e6510.site(15413) [Y2Ruby] binary/YRuby.cc(callClient):235 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'
Do we have any information on the new requirements for yast?
Thanks, Al
What does rpm -V yast2-ruby-bindings-3.0.0 output?
nothing.
Strange,
# rpm -q --requires yast2-ruby-bindings-3.0.0 ... ruby rubygem-fast_gettext
Could you check whether rubygem-fast_gettext is installed correctly?>
rpm -V gives nothing zypper in -f rubygem-fast_gettext reinstalled it fine
Repository: Main Repository (OSS) Name: rubygem-fast_gettext Version: 0.7.1-1.2 Arch: x86_64 Vendor: openSUSE Installed: Yes Status: up-to-date still the same issue
2013-09-23 21:33:51 <1> e6510.site(5795) [liby2] genericfrontend.cc(main):575 Launched YaST2 component 'y2base' 'menu' 'ncurses' 2013-09-23 21:33:51 <1> e6510.site(5795) [ui-component] YUIComponentCreator.cc(createInternal):124 Creating UI component for "" 2013-09-23 21:33:51 <1> e6510.site(5795) [liby2] genericfrontend.cc(main):764 YAST_IS_RUNNING is yes 2013-09-23 21:33:51 <3> e6510.site(5795) [Y2Ruby] binary/YRuby.cc(callClient):235 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' 2013-09-23 21:33:51 <1> e6510.site(5795) [liby2] genericfrontend.cc(main):780 Finished YaST2 component 'y2base' 2013-09-23 21:33:51 <1> e6510.site(5795) [liby2] genericfrontend.cc(main):785 Exiting with client return value 'nil'
/usr/lib64/ruby/2.0.0/rubygems/core_ext/kernel_require.rb exists... and the permissions dont make a difference
yast2 does "work" and I can see the different modules but once I click on them, I see the same error...
:| what other clues?
OK, wild quest, there was problem with loading rubygems when you use more recent ruby-bindings, but it should affect only ruby-bindings 3.0.1 and 3.0.2 and is fixed in 3.0.3. So question is if you don't try own yast2-ruby-bindings. If you try the latest ruby-bindings from YaST:Head repo does it help?
same issue with yast2-ruby-bindings-3.0.3-2.1.x86_64 How is anyone actually having yast ncurses with 13.1? ;) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, 24 Sep 2013 19:48:45 +0200 Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
On Tue, Sep 24, 2013 at 9:00 AM, Josef Reidinger <jreidinger@suse.cz> wrote:
On Mon, 23 Sep 2013 21:41:01 +0200 Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
On Mon, Sep 23, 2013 at 10:26 AM, Ladislav Slezak <lslezak@suse.cz> wrote:
Dne 22.9.2013 20:45, Alejandro Bonilla napsal(a):
Hi,
On Sun, Sep 22, 2013 at 5:32 PM, Stephan Kulow <coolo@suse.de> wrote:
Am 20.09.2013 20:58, schrieb Alejandro Bonilla: > > Hi, > > <snip?
yast2 does "work" and I can see the different modules but once I click on them, I see the same error...
:| what other clues?
OK, wild quest, there was problem with loading rubygems when you use more recent ruby-bindings, but it should affect only ruby-bindings 3.0.1 and 3.0.2 and is fixed in 3.0.3. So question is if you don't try own yast2-ruby-bindings. If you try the latest ruby-bindings from YaST:Head repo does it help?
same issue with yast2-ruby-bindings-3.0.3-2.1.x86_64
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" ? 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.
How is anyone actually having yast ncurses with 13.1? ;)
just works for me. We test it quite frequently ( and yes, of course there is some bugs :) Josef -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
On Thu, Sep 26, 2013 at 10:17 AM, Josef Reidinger <jreidinger@suse.cz> wrote:
Interesting, looks like you use ruby with disabled rubygems support. You can verify it if you try irb require "rubygems" require "fast_gettext"
2.0.0p247 :003 > require "rubygems" => false 2.0.0p247 :004 > 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):4 from /usr/local/rvm/rubies/ruby-2.0.0-p247/bin/irb:13:in `<main>' 2.0.0p247 :005 > What do you think? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, 27 Sep 2013 21:38:36 +0200 Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
What do you think?
I think that you are using manually installed ruby in /usr/local/ which is before /usr/bin/ in $PATH, so version that is installed by package management and should be used by YaST is not executed. If you move temporarily /usr/local to /usr/local1 and create new /usr/local/ YaST should be able to find ruby from rpm and work as expected. -- Regards, Rajko. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sat, Sep 28, 2013 at 5:28 AM, Rajko <rmatov101@charter.net> wrote:
On Fri, 27 Sep 2013 21:38:36 +0200 Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
What do you think?
I think that you are using manually installed ruby in /usr/local/ which is before /usr/bin/ in $PATH, so version that is installed by package management and should be used by YaST is not executed.
You are right.
If you move temporarily /usr/local to /usr/local1 and create new /usr/local/ YaST should be able to find ruby from rpm and work as expected.
I removed the /usr/local and also moved the /usr/local folder and this did not help. Can I clean up ruby/rvm somehow knowing that I once did curl -L https://get.rvm.io | bash -s stable --ruby ruby install 1.9.3 rvm use 1.9.3 --default Besides executing rvm remove 1.9.3 ? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sat, 28 Sep 2013 11:28:33 +0200 Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
On Sat, Sep 28, 2013 at 5:28 AM, Rajko <rmatov101@charter.net> wrote:
On Fri, 27 Sep 2013 21:38:36 +0200 Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
What do you think?
I think that you are using manually installed ruby in /usr/local/ which is before /usr/bin/ in $PATH, so version that is installed by package management and should be used by YaST is not executed.
You are right.
If you move temporarily /usr/local to /usr/local1 and create new /usr/local/ YaST should be able to find ruby from rpm and work as expected.
I removed the /usr/local and also moved the /usr/local folder and this did not help.
Can I clean up ruby/rvm somehow knowing that I once did
curl -L https://get.rvm.io | bash -s stable --ruby ruby install 1.9.3 rvm use 1.9.3 --default
Besides executing rvm remove 1.9.3 ?
http://stackoverflow.com/questions/3558656/how-to-remove-rvm-ruby-version-ma... Josef -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 30 Sep 2013 09:07:40 +0200 Josef Reidinger <jreidinger@suse.cz> wrote:
Besides executing rvm remove 1.9.3 ?
http://stackoverflow.com/questions/3558656/how-to-remove-rvm-ruby-version-ma...
Hi Josef, I exchanged few emails of the list with Alejandro and result is that there is another way to have system version of ruby as default without removing rvm. It seems that problem with YaST is a result of "--default" parameter in: curl -L https://get.rvm.io | bash -s stable --ruby ruby install 1.9.3 rvm use 1.9.3 --default that tells rvm to set 1.9.3 as system default. Cure should be: rvm use system --default but I'm not sure until Alejandro answers on last email. (in CC now) I don't have rvm installed and the only source of information is: https://rvm.io/rvm https://rvm.io/rvm/basics and https://rvm.io/rvm/cli <quote> PLEASE NOTE: RVM is 'hands off' any system ruby that you have installed. To be able to "use" your system ruby you can tell RVM to undo the environment changes that it has applied, as follows. $ rvm use system $ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] $ which ruby /usr/bin/ruby </quote> -- Regards, Rajko. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Sep 30, 2013 at 10:21:43PM -0500, Rajko wrote:
On Mon, 30 Sep 2013 09:07:40 +0200 Josef Reidinger <jreidinger@suse.cz> wrote:
Besides executing rvm remove 1.9.3 ?
http://stackoverflow.com/questions/3558656/how-to-remove-rvm-ruby-version-ma...
Hi Josef,
I exchanged few emails of the list with Alejandro and result is that there is another way to have system version of ruby as default without removing rvm.
It seems that problem with YaST is a result of "--default" parameter in:
curl -L https://get.rvm.io | bash -s stable --ruby
Never do this. Never ever. :/ You basically hand over control of your system to whoever runs or has hacked the get.rvm.io host. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, 1 Oct 2013 09:11:13 +0200 Marcus Meissner <meissner@suse.de> wrote:
curl -L https://get.rvm.io | bash -s stable --ruby
Never do this. Never ever. :/
You basically hand over control of your system to whoever runs or has hacked the get.rvm.io host.
I agree :) I used that in context of Alejandro posted it that way. What I did was actually: curl -L https://get.rvm.io > get-ruby then looked in the script. -- Regards, Rajko. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 02/10/13 01:14, Rajko wrote:
On Tue, 1 Oct 2013 09:11:13 +0200 Marcus Meissner <meissner@suse.de> wrote:
curl -L https://get.rvm.io | bash -s stable --ruby
Never do this. Never ever. :/
You basically hand over control of your system to whoever runs or has hacked the get.rvm.io host.
I agree :)
I used that in context of Alejandro posted it that way. What I did was actually:
curl -L https://get.rvm.io > get-ruby
then looked in the script.
btw, rbenv (http://rbenv.org/) works in a simpler way than rvm, and we do have packages for both rbenv and ruby-install (adds "rbenv install" command) in devel:languages:ruby:extensions. -- Duncan Mac-Vicar P. - http://www.suse.com/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, 27 Sep 2013 21:38:36 +0200 Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
On Thu, Sep 26, 2013 at 10:17 AM, Josef Reidinger <jreidinger@suse.cz> wrote:
Interesting, looks like you use ruby with disabled rubygems support. You can verify it if you try irb require "rubygems" require "fast_gettext"
2.0.0p247 :003 > require "rubygems" => false 2.0.0p247 :004 > 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):4 from /usr/local/rvm/rubies/ruby-2.0.0-p247/bin/irb:13:in `<main>' 2.0.0p247 :005 >
What do you think?
Ah, now I think I see it. Problem is that you use rvm that use non-system load paths as it looks inside of /usr/local/rvm/rubies/ruby-2.0.0-p247/ . So rvm affects searching. So next attempt is to try run ( change is to force rvm to use system ruby ) rvm use system irb require "rubygems" require "fast_gettext" Josef -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Sep 30, 2013 at 7:17 AM, Josef Reidinger <jreidinger@suse.cz> wrote:
On Fri, 27 Sep 2013 21:38:36 +0200 Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
On Thu, Sep 26, 2013 at 10:17 AM, Josef Reidinger <jreidinger@suse.cz> wrote:
Interesting, looks like you use ruby with disabled rubygems support. You can verify it if you try irb require "rubygems" require "fast_gettext"
2.0.0p247 :003 > require "rubygems" => false 2.0.0p247 :004 > 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):4 from /usr/local/rvm/rubies/ruby-2.0.0-p247/bin/irb:13:in `<main>' 2.0.0p247 :005 >
What do you think?
Ah, now I think I see it. Problem is that you use rvm that use non-system load paths as it looks inside of /usr/local/rvm/rubies/ruby-2.0.0-p247/ . So rvm affects searching. So next attempt is to try run ( change is to force rvm to use system ruby )
OK, at least the output looks better now. Thanks. e6510:~ # rvm use system --default Now using system ruby. Now using system ruby. Warning! Executable 'ruby' missing, something went wrong with this ruby installation! Warning! Executable 'gem' missing, something went wrong with this ruby installation! Warning! Executable 'irb' missing, something went wrong with this ruby installation! e6510:~ # rvm use system Now using system ruby. e6510:~ # rvm use system --default Now using system ruby. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (7)
-
Alejandro Bonilla
-
Duncan Mac-Vicar P.
-
Josef Reidinger
-
Ladislav Slezak
-
Marcus Meissner
-
Rajko
-
Stephan Kulow