Bugs: Browse | Submit New | Admin

[#28023] qtruby4 LoadError in ruby 1.9.1 / win32 for qtruby4-2.1.0

Date:
2010-03-29 19:06
Priority:
3
Submitted By:
sarunas sarunas (savalas)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
qtruby4 LoadError in ruby 1.9.1 / win32 for qtruby4-2.1.0

Detailed description
installed qtruby4-2.1.0-x86-mswin32.gem to ruby 1.9.1 on win32. Install passed Ok.

just when I try to execute


require 'Qt4'



it fails with:
G:/installed/Ruby19/lib/ruby/gems/1.9.1/gems/qtruby4-2.1.0-x86-mswin32/lib/Qt4.rb:5:in `require': no such file to load
-- qtruby4 (LoadError)
	from G:/installed/Ruby19/lib/ruby/gems/1.9.1/gems/qtruby4-2.1.0-x86-mswin32/lib/Qt4.rb:5:in `rescue in <top
(required)>'
	from G:/installed/Ruby19/lib/ruby/gems/1.9.1/gems/qtruby4-2.1.0-x86-mswin32/lib/Qt4.rb:1:in `<top (required)>'
	from C:/dev/testRuby/main.rb:1:in `require'
	from C:/dev/testRuby/main.rb:1:in `<main>'



my ruby version is:
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]

Add A Comment: Notepad

Please login


Followup

Message
Date: 2010-10-19 17:41
Sender: Quel Qun

Facing the same issue. Installed rubyinstaller-1.9.2-p0.exe,
then qtruby4-2.1.0-x86-mswin32.gem. Simply typing require 'Qt4'
in irb creates "LoadError: no such file to load --
qtruby4".

Things work well in linux, but there is no point using ruby if
I cannot distribute my projects to the win32 world. Could someone
help, please? Is there a missing environment variable or anything
that can be easily fixed? That would be really nice to get that
going.
--
Eric
Date: 2010-04-08 07:00
Sender: Stefan Champailler

I have that kind of problem too with a fresh install :

C:\PORT-STC\ruby-1.9.1-p376-i386\lib\ruby\gems\1.9.1\gems\qtruby4
-2.1.0-x86-mswin32\examples\tutorial\t1>ruby -v
ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-mswin32]

C:\PORT-STC\ruby-1.9.1-p376-i386\lib\ruby\gems\1.9.1\gems\qtruby4
-2.1.0-x86-mswin32\examples\tutorial\t1>gem list --local

*** LOCAL GEMS ***

qtruby4 (2.1.0)

C:\PORT-STC\ruby-1.9.1-p376-i386\lib\ruby\gems\1.9.1\gems\qtruby4
-2.1.0-x86-mswin32\examples\tutorial\t1>ruby t1.rb
C:/PORT-STC/ruby-1.9.1-p376-i386/lib/ruby/gems/1.9.1/gems/qtruby4
-2.1.0-x86-mswin32/lib/Qt.rb:1:in `require': no such file to
load -- qtruby4 (LoadError)
        from C:/PORT-STC/ruby-1.9.1-p376-i386/lib/ruby/gems/1.9.1
/gems/qtruby4-2.1.0-x86-mswin32/lib/Qt.rb:1:in `<top
(required)>'
        from t1.rb:6:in `require'
        from t1.rb:6:in `<main>'

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item