ruby 2.0 crashes on "require 'tk'"

Bug #1406787 reported by meschi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby2.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Linux Mint 17 Xfce 32 bit

The problem is triggered easily:
I have installed the package 'libtcltk-ruby'
When requiring tk in ruby 1.9 there is no problem.
but in ruby 2.0 the require statement fails:
$ irb2.0
irb(main):001:0> require 'tk'
LoadError: cannot load such file -- tk
 from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
 from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
 from (irb):1
 from /usr/bin/irb2.0:12:in `<main>'

Instead, it obviously should have just inported tk.
The happens everytime.

http://stackoverflow.com/questions/20874900/ruby-require-tk-yields-loaderror-no-such-file-to-load-tk
https://bugs.ruby-lang.org/issues/8435

Since this is considered to be a 3rd party problem, it would be nice if someone fixed this.

Vlad Orlov (monsta)
affects: linuxmint → ruby2.0 (Ubuntu)
no longer affects: ubuntu
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.