Bonjour à tous,
je débute en programmation, et j'ai choisis Ruby... du coup je me penche aussi sur Rails; et là j'ai un p'tit souci quand je lance le serveur pour mon application rails...
Je suis un peu perdu, et j'ai besoin d'aide, que dois-je faire?
Microsoft Windows [version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. Tous droits réservés.
C:\ruby>cd workstef/projets_rails/new_app
C:\ruby\workstef\projets_rails\new_app>ruby script/server
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
C:/ruby/workstef/projets_rails/new_app/config/environment.rb:44: undefined method `time_zone=' for #
(NoMethodError)
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in `run'
from C:/ruby/workstef/projets_rails/new_app/config/environment.rb:13
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:4
96:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:3
42:in `new_constants_in'
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:4
96:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb
:147:in `rails'
... 20 levels...
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from script/server:3
C:\ruby\workstef\projets_rails\new_app>
Merci pour votre aide!! :)
|
il y a 16 heures 4 min
il y a 18 heures 27 min
il y a 19 heures 46 min
il y a 22 heures 43 min
il y a 23 heures 7 min
il y a 23 heures 38 min
il y a 1 jour 1 heure
il y a 1 jour 2 heures
il y a 1 jour 2 heures
il y a 1 jour 3 heures