Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Technical discussions | Discussions techniques Patch for ruby extension initialization error
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Technical discussions | Discussions techniques

Subjects Author Language Messages Last message
[Resolved] Patch for ruby extension initialization error
mtasaka English 3 GeorgeArbuckle [Read]
11 November 2015 à 05:20

mtasaka, Monday 22 December 2014 à 16:16 | Quote


Subscription date : 16 May 2008
Messages : 106
Hello:

Using cairo-dock-core / plug-ins 3.4.0 and ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]

With building ruby extension and copying demo_ruby into ~/.config/cairo-dock/third-party/ and
trying to use demo_ruby, I get the following error:
/usr/share/ruby/vendor_ruby/CDApplet.rb:71:in `initialize': undefined method `cRootDataDir=' for #<Applet:0xa2fe090> (NoMethodError)
from ./demo_ruby:38:in `initialize'
from ./demo_ruby:127:in `new'
from ./demo_ruby:127:in `<main>'

(line number may differs)

This is due to some initialization missing. Please apply the patch below, thank you.
http://cvs.rpmfusion.org/viewvc/rpms/cairo-dock/devel/cairo-dock-plugins-3.4.0-ruby-initialization.patch?revision=1.1&root=free&view=markup

matttbe, Monday 29 December 2014 à 01:21 | Quote


Subscription date : 24 January 2009
Messages : 12573
Hello!

Thank you for this second patch
=> commited!

mtasaka, Monday 29 December 2014 à 06:43 | Quote


Subscription date : 16 May 2008
Messages : 106
Thank you!

GeorgeArbuckle, Wednesday 11 November 2015 à 05:20 | Quote


Subscription date : 11 November 2015
Messages : 2
Try running bundle config build.nokogiri --use-system-libraries as noted in the bundler output. Then re-run bundle.

Technical discussions | Discussions techniques

Subjects Author Language Messages Last message
[Resolved] Patch for ruby extension initialization error
mtasaka English 3 GeorgeArbuckle [Read]
11 November 2015 à 05:20

Post a message

Anti-spam filter 10 (*) times (*) 5 =
            
Did you know ? You can easily create a link to a wikipedia file by using the tag: [[wikipedia:FILE]]


Glx-Dock / Cairo-Dock List of forums Technical discussions | Discussions techniques Patch for ruby extension initialization error Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.