Skip to content
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

Ruby gem on Linux Mint 19.1 #97

Open
Rayfranzward opened this issue Apr 15, 2019 · 0 comments
Open

Ruby gem on Linux Mint 19.1 #97

Rayfranzward opened this issue Apr 15, 2019 · 0 comments

Comments

@Rayfranzward
Copy link

Installation problems. I know it worked in the past but now it's coming up with a shed load of errors. As a stand-alone Red Shoes work's (sort of) but I'd much rather use Ruby gem
This is what happens when you use require.
irb(main):001:0> require "green_shoes"
/var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/green_shoes.rb:22:in <module:Shoes>': 'Gdk::Pixbuf' has been deprecated. Use 'GdkPixbuf::Pixbuf'. /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/green_shoes.rb:22:in module:Shoes': 'GdkPixbuf::Pixbuf::ROTATE_NONE' has been deprecated. Use 'GdkPixbuf::PixbufRotation::NONE' or ':none'.
/var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/green_shoes.rb:22:in <module:Shoes>': 'GdkPixbuf::Pixbuf::ROTATE_CLOCKWISE' has been deprecated. Use 'GdkPixbuf::PixbufRotation::CLOCKWISE' or ':clockwise'. /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/green_shoes.rb:22:in module:Shoes': 'GdkPixbuf::Pixbuf::ROTATE_UPSIDEDOWN' has been deprecated. Use 'GdkPixbuf::PixbufRotation::UPSIDEDOWN' or ':upsidedown'.
/var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/green_shoes.rb:22:in <module:Shoes>': 'GdkPixbuf::Pixbuf::ROTATE_COUNTERCLOCKWISE' has been deprecated. Use 'GdkPixbuf::PixbufRotation::COUNTERCLOCKWISE' or ':counterclockwise'. /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/green_shoes.rb:33:in module:Shoes': 'Pango::WRAP_WORD' has been deprecated. Use 'Pango::WrapMode::WORD' or ':word'.
/var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/green_shoes.rb:33:in <module:Shoes>': 'Pango::WRAP_CHAR' has been deprecated. Use 'Pango::WrapMode::CHAR' or ':char'. /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/green_shoes.rb:33:in module:Shoes': 'Pango::ELLIPSIZE_END' has been deprecated. Use 'Pango::EllipsizeMode::END' or ':end'.

When use the readme demo (The example in the document)
Traceback (most recent call last):
15: from /usr/bin/irb:11:in <main>' 14: from (irb):2 13: from /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/shoes/main.rb:119:in app'
12: from /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/shoes/helper_methods.rb:220:in call_back_procs' 11: from /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/shoes/helper_methods.rb:168:in contents_alignment'
10: from /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/shoes/helper_methods.rb:168:in each' 9: from /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/shoes/helper_methods.rb:179:in block in contents_alignment'
8: from /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/shoes/basic.rb:228:in positioning' 7: from /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/shoes/basic.rb:222:in text='
6: from /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/shoes/style.rb:58:in style' 5: from /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/shoes/app.rb:168:in para'
4: from /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/shoes/app.rb:143:in textblock' 3: from /var/lib/gems/2.5.0/gems/green_shoes-1.1.374/lib/shoes/helper_methods.rb:145:in make_pango_layout'
2: from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:583:in block in define_method' 1: from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:583:in invoke'
ArgumentError (Pango::Layout#set_justify: the 0th argument must not nil: )

I'v been at this for a couple of days (Flush out the gems and reloading Etc) and gem will normally download the dependencies and does not complain but fails silently
Current Ruby installed:-
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant