Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Some issue to install RoR, GTK2 on windows 7

#5913

Hello,

Please find the configuration and error message with the install of GTK2

Installation RoR, Glade, GTK2 sous Windows 7
Distibutions utilisées :
- rubyinstaller-1.9.2-p0, - glade3-3.6.7-with-GTK+, - GTK-Runtime-Environment-2.2.1.2, - ruby-gtk2-0.90.2.tar. Processus appliqué :
- installation de rubyinstaller-1.9.2-p0 en C:\Ruby, - installation de glade3-3.6.7-with-GTK+ en C:\GTK2, - installation temporaire de GTK-Runtime-Environment-2.2.1.2 en C:\Gtk, - copie de tous les répertoires et fichiers de C:\Gtk vers C:\GTK2, - décompression de ruby-gtk2-0.90.2.tar en C:\Ruby et C:\GTK2, par précaution. Résultats :
- Glade fonctionne correctement, - Gem, Ruby, Rails semblent installés correctement, voir copie de l’écran CMD, - Ruby ne reconnaît pas GTK2, voir copie de l’écran CMD, même en spécifiant le chemin complet. Remarque :
L’installation sous Ubuntu 10.10 des mêmes composants produit le même effet.
Copie de l’écran CMD accès en mode administrateur :
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:>rails -v
Rails 3.0.1

C:>gem -v
1.3.7

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:/Ruby/lib/ruby/gems/1.9.1 - RUBY EXECUTABLE: C:/Ruby/bin/ruby.exe - EXECUTABLE DIRECTORY: C:/Ruby/bin - RUBYGEMS PLATFORMS:

- ruby
- x86-mingw32
  • GEM PATHS:
    • C:/Ruby/lib/ruby/gems/1.9.1
    • C:/Users/Georges Frérot/.gem/ruby/1.9.1
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:

C:>ruby -e "require 'gtk2'"
<internal:lib/rubygems/custom_require>:29:in require': no such file to load --<br/> gtk2 (LoadError)<br/>

    from <internal:lib/rubygems/custom_require>:29:in `require'
    from -e:1:in `<main>'

C:>ruby -e "require 'C:\Ruby\ruby-gtk2-0.90.2\gtk2\lib\gtk2'"
<internal:lib/rubygems/custom_require>:29:in require': no such file to load --<br/> gtk2/base (LoadError)<br/>

    from <internal:lib/rubygems/custom_require>:29:in `require'
    from C:/Ruby/ruby-gtk2-0.90.2/gtk2/lib/gtk2.rb:11:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from -e:1:in `<main>'

C:>ruby D:\EasyCareOnLine\Rails_Test\First_App\App1\Hello2.rb
Hello

C:>

Thanks for your help

Best Regards,

Georges

Reported by gfrerot · November 3rd, 2010 @ 01:24 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Luis Lavena
    Luis Lavena

    Hello,

    This is not a Rails issue and shouldn't be reported to Rails issue tracker. Please bring this topic to Ruby/GTK2

    For the sake of answering your problem: your installation/extraction of ruby/gtk2 is not in the LOAD_PATH where Ruby expect to find it.

    Please follow the instructions of Ruby/GTK2 to properly install it.

    November 3rd, 2010 @ 01:52 PM

  2. Santiago Pastorino
    Santiago Pastorino
    • State changed from new to invalid
    • Importance changed from to Low

    November 3rd, 2010 @ 05:11 PM