-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Korundum4 not found on Linux Mint 17 MATE #17
Comments
Excerpts from alexbottoni's message of 2015-02-24 13:43:37 +0100:
I've little experience with rvm but I don't think that you can use a system-wide You'll need to
Note that currently ruber doesn't work correctly with ruby-2.0 or above, as its Stefano |
Il 24/02/2015 15:03, stcrocco ha scritto:
You are right: it is not possible to use a system-wide installation of Anyway, you do not have to install Korundum by hand. RVM has a specific $ rvm use system I used this command and I succeded to get over the mentioned problem. $ ruber Please note that facets is correctly installed: $ sudo gem install ruber If you don't do this, each version of Outsider you have installed will Looks like the problem is related to the fact that Ruber is looking for In the name of this package, And, in fact, Ruby see itself as 1.9.3 (even if I installed 1.9.1): $ ruby -v Any idea? BTW: Do you speak italian? If we have to communicate privately by email, Alessandro Bottoni "A black cat crossing your path signifies that the animal is going |
Excerpts from alexbottoni's message of 2015-02-24 16:22:07 +0100:
It seems that facets 3.0.0 has removed kernel/require_relative, most likely Yes, I do speak Italian. If you prefer, we can use that. Stefano |
No way: $ ruber I removed the "require 'facets/kernel/require_relative'" line from bin/ruber but... |
Excerpts from alexbottoni's message of 2015-02-24 19:30:22 +0100:
This is the problem I mentioned in a previous mail regarding YAML. Ruby up to YAML::ENGINE.yamler = 'syck' Which version of ruby are you using? Could please run the following in irb and require 'yaml' Either your ruby version is 2.x or there's something strange going on, as it Stefano |
Actually, my Linux box starts with Ruby 2.2.0 but... see this session log: alex@caliban ~ $ ruby -v alex@caliban ~ $ Don't know what's going on... |
Excerpts from alexbottoni's message of 2015-02-24 22:26:54 +0100:
Please, try to change lines 38-40 of bin/ruber so that they only read Stefano |
Using this instance of the bin/ruber file: #!/usr/bin/env ruby =begin rdoc It is essentially like +Enumerable+, but defines a count_items method include Enumerable begin end require 'korundum4' #In korundum 4.4, there's no kio.rb. So, check whether KDE::IconButton (one of #In theory, one should check the KDE version, but there's no way to do that (at require 'yaml' psych (used by default in ruby 1.9.3) doesn't correctly parse some YAML filesYAML::ENGINE.yamler = 'syck' require 'ruber/version' data = KDE::AboutData.new "ruber", "", KDE::ki18n("Ruber"), Ruber::VERSION, KDE::CmdLineArgs.init ARGV, data manager = Ruber::ComponentManager.new I'm getting this backtrace: $ ruber Look like facets/kernel/require_relative is required by component_manager.rb and application.rb, as well. Please note that the bin/ruber file installed by gem command did not contain these lines: require 'yaml' psych (used by default in ruby 1.9.3) doesn't correctly parse some YAML filesbegin YAML::ENGINE.yamler = 'syck' That appear in the github latest branch, instead (https://github.com/stcrocco/ruber/blob/master/bin/ruber). I added the required lines by hand. |
Excerpts from alexbottoni's message of 2015-02-25 11:32:39 +0100:
I just updated the github versions with changes which should make ruber work Stefano |
Ok, now it is launching. Unfortunately, as soon as you try to open any kind of ASCII/UTF8 file (.rb, .txt. etc.) it crashes with the following backtrace: $ ruber |
Excerpts from alexbottoni's message of 2015-02-25 13:15:37 +0100:
This is strange. It works correctly for me using ruby 1.9.3p551 with qtruby p d just before line 203 in lib/ruber/gui_states_handler.rb and post the output? Stefano |
I just tried to add the two lines you suggested and... Ruber works like a charm with them. As a cross-check, I tried to remove them again and it crashed. It's quite weird for me, given that these two lines seem to be intended only as a tracer, not as a bugfix. Anyway, I'm sending you a couple of session logs and backtraces (with and without the mentioned two lines) at your email address at alice.it. My configuration is as follow: |
My system:
My CL:
$ gem install ruber # No error messages
$ ruber
$ /home/alex/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- korundum4 (LoadError)
Any suggestion?
The text was updated successfully, but these errors were encountered: