I have been trying to use the qt4 library with ruby but I am having
problems to install it. It seems that there are many tools for
controlling the ruby system. The ones I used are rvm, gem, and bundler.
Am I doing something wrong, or is there some secret how to best deal
with ruby dependencies?
When I try to run this basic example about qt with ruby:
app = Qt::Application.new (ARGV)
hello = Qt::PushButton.new (‘Hello World!’)
require': cannot load such file -- Qt (LoadError) from /home/mike/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire’
from Main.rb:1:in `’
gem search qt
finds the package qtruby4
gem install qtruby4
ERROR: Could not find a valid gem ‘qtruby4’ (>= 0) in any repository