From: SourceForge.net <no...@so...> - 2011-12-03 07:00:19
|
Bugs item #3110774, was opened at 2010-11-17 07:10 Message generated for change (Settings changed) made by ktou You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=470969&aid=3110774&group_id=53614 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Georges FREROT (gfrerot) Assigned to: Nobody/Anonymous (nobody) Summary: Ruby-gtk2 Error Require 'gtk2' Initial Comment: Bonjour, RoR, GTK2-Runtime, Glade, GIMP, Ruby-gtk Installation sur Windows 7 de : RoR rubyinstaller-1.9.2-p0 C:\Ruby192 GTK2-Runtime, gtk2-runtime-2.22.0-2010-10-21-ash C:\GTK2-Runtime Glade Glade3-3.6.1 C:\Glade3 GIMP gimp-2.6.11-i686-setup-1 C:\GIMP-2.0 Ruby-GTK ruby-gtk2-0.90.4.tar Décompression en C:\Ruby192 Modification des noms des librairies en C:\windows\System32 : Libglib-2.0-0.dll en Libglib-2.0-0.dll.old Libatk-1.0-0.dll en Libatk-1.0-0.dll.old Pour faire fonctionner GIMP 2.6.11 Glade3 fonctionne normalement également. Ruby fonctionne correctement y compris WebBrick. Ruby-gtk ne fonctionne pas Microsoft Windows [version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. Tous droits réservés. C:\Windows\system32>cd .. C:\Windows>cd .. C:\>ruby -v ruby 1.9.2p0 (2010-08-18) [i386-mingw32] C:\>gem -v 1.3.7 C:\>rails -v Rails 3.0.3 C:\>gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [i386-mingw32] - INSTALLATION DIRECTORY: C:/Ruby192/lib/ruby/gems/1.9.1 - RUBY EXECUTABLE: C:/Ruby192/bin/ruby.exe - EXECUTABLE DIRECTORY: C:/Ruby192/bin - RUBYGEMS PLATFORMS: - ruby - x86-mingw32 - GEM PATHS: - C:/Ruby192/lib/ruby/gems/1.9.1 - C:/Users/Ruby_on_Rails/.gem/ruby/1.9.1 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/ C:\>ruby -e "require 'gtk2'" <internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- gtk2 (LoadError) from <internal:lib/rubygems/custom_require>:29:in `require' from -e:1:in `<main>' C:\> Merci de votre aide Cordialement, ---------------------------------------------------------------------- Comment By: Kouhei Sutou (ktou) Date: 2011-02-25 03:57 Message: Please install Ruby/GTK2 by "gem install gtk2". The gtk2 gem includes all GTK+ related DLLs. You don't need to install GTK+, Glade and GIMP for Ruby/GTK2. After you install the gtk2 gem, please try the command: C:\> ruby -e "require 'gdk_pixbuf2'; require 'gtk2'" NOTE: You need to require 'gdk_pixbuf2' before 'gtk2' in Ruby/GTK2 0.90.7. It had been fixed in trunk. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=470969&aid=3110774&group_id=53614 |