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.
Ba00a402965da738f601b6367cf3224f?d=identicon&s=25 Bolo (Guest)
on 2006-05-03 18: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
F16def8015a7562a285c65a14be48540?d=identicon&s=25 Mathieu Chappuis (Guest)
on 2006-05-03 18: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..)
F16def8015a7562a285c65a14be48540?d=identicon&s=25 Mathieu Chappuis (Guest)
on 2006-05-03 18:59
(Received via mailing list)
existe..
Ba00a402965da738f601b6367cf3224f?d=identicon&s=25 Bolo (Guest)
on 2006-05-03 19: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 Chappuis <mathieu.chappuis.lists@gmail.com>:
F16def8015a7562a285c65a14be48540?d=identicon&s=25 Mathieu Chappuis (Guest)
on 2006-05-03 19:06
(Received via mailing list)
Visiblement tu as une coquille dans ton fichier

/config/environment.rb:54:
Ba00a402965da738f601b6367cf3224f?d=identicon&s=25 Bolo (Guest)
on 2006-05-03 19: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 Michelin
Blog [Flash & RoR] http://blog.developpez.com/?blog=30
Ba00a402965da738f601b6367cf3224f?d=identicon&s=25 Bolo (Guest)
on 2006-05-03 19: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.