PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > ruby win32-process
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
ruby win32-process

Réponse
 
LinkBack Outils de la discussion
Vieux 22/11/2007, 15h17   #1
Ze Maria
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut ruby win32-process

Hi guys,
I've being using win32-utils package, more specifically win32-process.
I've used it windows XP but now I've some servers running Windows Server
2008, and when I execute the
require 'win32/process'

I get the following error message:

irb(main):031:0> require 'win32/process'
RuntimeError: GetProcAddress: SetConsoleCommandHistoryMode or
SetConsoleCommandH
istoryModeA

from
c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console
rb:76:in `initialize'
from
c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console
rb:76:in `new'
from
c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console
rb:76
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge
m_original_require'
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
quire'
from
c:/ruby/lib/ruby/gems/1.8/gems/win32-process-0.5.0-mswin32/lib/win3
2/process.rb:6
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge
m_original_require'
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
quire'
from (irb):31


Tks in advance
Jose
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 22/11/2007, 15h30   #2
Daniel Berger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ruby win32-process

Ze Maria wrote:
> Hi guys,
> I've being using win32-utils package, more specifically win32-process.
> I've used it windows XP but now I've some servers running Windows Server
> 2008, and when I execute the
> require 'win32/process'
>
> I get the following error message:
>
> irb(main):031:0> require 'win32/process'
> RuntimeError: GetProcAddress: SetConsoleCommandHistoryMode or
> SetConsoleCommandH
> istoryModeA
>
> from
> c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console
> .rb:76:in `initialize'


<snip>

You'll want to upgrade your windows-pr library.

Regards,

Dan

  Réponse avec citation
Vieux 22/11/2007, 15h44   #3
Ze Maria
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ruby win32-process

Daniel Berger wrote:
> Ze Maria wrote:
>> SetConsoleCommandH
>> istoryModeA
>>
>> from
>> c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console
>> .rb:76:in `initialize'

>
> <snip>
>
> You'll want to upgrade your windows-pr library.
>
> Regards,
>
> Dan


But how ?
I already have the latest version for windows , wi32-process 0.6.2
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 22/11/2007, 15h54   #4
Daniel Berger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ruby win32-process

Ze Maria wrote:
> Daniel Berger wrote:
>> Ze Maria wrote:
>>> SetConsoleCommandH
>>> istoryModeA
>>>
>>> from
>>> c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console
>>> .rb:76:in `initialize'

>> <snip>
>>
>> You'll want to upgrade your windows-pr library.
>>
>> Regards,
>>
>> Dan

>
> But how ?
> I already have the latest version for windows , wi32-process 0.6.2


windows-pr and win32-process are two separate libraries.

gem install windows-pr

windows-pr is currently at release 0.7.2

Regards,

Dan

  Réponse avec citation
Vieux 22/11/2007, 16h03   #5
Ze Maria
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ruby win32-process

Daniel Berger wrote:
> Ze Maria wrote:
>>> You'll want to upgrade your windows-pr library.
>>>
>>> Regards,
>>>
>>> Dan

>>
>> But how ?
>> I already have the latest version for windows , wi32-process 0.6.2

>
> windows-pr and win32-process are two separate libraries.
>
> gem install windows-pr
>
> windows-pr is currently at release 0.7.2
>
> Regards,
>
> Dan


Hello Dan,
Thanks it worked fine.
Best Regards,
José
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 15h15.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11580 seconds with 13 queries