Forum: Rails France Re: Recherche Testeur IIS

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bolo (Guest)
on 2006-05-03 20:59
(Received via mailing list)
Bonjour,

avec on testeur nous essayons d'installer IIS avec des dossiers
virtuels. On
ma conseillé de lancer cette commade
ruby dispatch.fcgi /controller/action/id
et normallement je devrais voir ce message
internal server error

Dans mon app j'ai un controller Test avec une vue index que j'ai crée
ainsi

script/generate controller Test index

j'ai donc lancé cette commande voila ce que j'ai . Même quand je teste
sur
webrick j'ai ce message
D:\maPremApp\public>ruby dispatch.fcgi /test/index
./../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:123:in
`const_missing': uninitialized constant RailsFCGIHandler (NameError)
        from
./../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:131:in
`const_missing'
        from dispatch.fcgi:24
Mathieu C. (Guest)
on 2006-05-03 20:59
(Received via mailing list)
cd <chemin de mon app> (mais pas dans public)

ruby public\dispatch.trucgi "toto/1254"

Et tu aura une belle Error 500 ( que le controller invoqué exite ou
pas d'ailleurs..)
Mathieu C. (Guest)
on 2006-05-03 20:59
(Received via mailing list)
existe..
Bolo (Guest)
on 2006-05-03 21:00
(Received via mailing list)
J'ai essayé ca donc
C:\Bolo\first>ruby public\dispatch.fcgi "test/index"
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__':
./p
ublic/../config/environment.rb:54: unterminated string meets end of file
(Syntax
Error)
        from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`re
quire'
        from public/dispatch.fcgi:21

mais j'ai toujours le même bins


2006/5/2, Mathieu C. <removed_email_address@domain.invalid>:
Mathieu C. (Guest)
on 2006-05-03 21:06
(Received via mailing list)
Visiblement tu as une coquille dans ton fichier

/config/environment.rb:54:
Bolo (Guest)
on 2006-05-03 21:06
(Received via mailing list)
Salut,


Visiblement tu as une coquille dans ton fichier
>
> /config/environment.rb:54:
> _______________________________________________


Je pense que c'est du a ce point
http://made-of-stone.blogspot.com/2006/01/rails-on...
Next up, edit your application's configuration file (either one of the
environment specific ones, or your general one - you decide) and add the
line:

ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:tmpdir] =
'D:\\Temp\\'


Bolo M.
Blog [Flash & RoR] http://blog.developpez.com/?blog=30
Bolo (Guest)
on 2006-05-03 21:07
(Received via mailing list)
J'ai mis en commentaire la ligne 54 maintenant. J'ai toujours des
erreurs
C:\Bolo\first>ruby public/dispatch.fcgi "test"
./public/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/acti
ve_support/dependencies.rb:123:in `const_missing': uninitialized
constant
RailsF
CGIHandler (NameError)
        from
./public/../config/../vendor/rails/activerecord/lib/../../activesup
port/lib/active_support/dependencies.rb:131:in `const_missing'
        from public/dispatch.fcgi:24
This topic is locked and can not be replied to.