I'm attempting to run a RoR app locally for the first time. I've started the server and I get the following error (after WEBrick starts):
C:/Ruby/lib/ruby/1.9.1/logger.rb:599:in `initialize': No such file or directory - /dev/null (Errno::ENOENT)
I try to run rake db:migrate and I get the same error:
** Execute environment
rake aborted!
No such file or directory - /dev/null
C:/Ruby/lib/ruby/1.9.1/logger.rb:599:in `initialize'
C:/Ruby/lib/ruby/1.9.1/logger.rb:599:in `open'
C:/Ruby/lib/ruby/1.9.1/logger.rb:599:in `create_logfile'
C:/Ruby/lib/ruby/1.9.1/logger.rb:594:in `open_logfile'
C:/Ruby/lib/ruby/1.9.1/logger.rb:549:in `initialize'
C:/Ruby/lib/ruby/1.9.1/logger.rb:314:in `new'
C:/Ruby/lib/ruby/1.9.1/logger.rb:314:in `initialize'
C:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.0/lib/active_support/core_ext/logger.rb:72:in `initialize'
I'm running on a Windows machine, in case it helps. Does anyone have any idea what's going on here?
> ruby -v
ruby 1.9.3p0 (2011-10-30) [i386-mingw32]
> rails -v
Rails 3.2.0