Rails 2 .3.11 server error

ruby script/server…
*
*

  • have any gem problem…?*

/home/vishnu/.rvm/gems/[email protected]/gems/rails-2.3.11/lib/rails/rack/log_tailer.rb:10:in
size': No such file or directory - /home/vishnu/ror2/getafix/log/development.log (Errno::ENOENT) from /home/vishnu/.rvm/gems/[email protected]/gems/rails-2.3.11/lib/rails/rack/log_tailer.rb:10:ininitialize’
from
/home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:54:in
new' from /home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:54:inuse’
from
/home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:73:in
call' from /home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:73:into_app’
from
/home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:71:in
inject' from /home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:73:ineach’
from
/home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:73:in
inject' from /home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:73:into_app’
from
/home/vishnu/.rvm/gems/[email protected]/gems/rails-2.3.11/lib/commands/server.rb:95
from
/home/vishnu/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
gem_original_require' from /home/vishnu/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:inrequire’
from script/server:3

Now when i chk the log folder… that folder doesn’t contain a
development.log file…I think that is the problem of
error…?
how to rectify that problem…?

On 20 December 2011 06:22, amvis [email protected] wrote:

Now when i chk the log folder… that folder doesn’t contain a
development.log file…I think that is the problem of error…?
how to rectify that problem…?

Are you sure the log folder exists and is writable? Create an empty
development.log file and try again.

Colin

Thank for the reply

yes, i have created one development.log file. now its working

thank you
vishnu

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs