我運行rails s
時出現此錯誤。Ruby錯誤,無法啓動rails服務器
任何人都可以幫助我嗎?
Rails Error: Unable to access log file. Please ensure that /Users/delejnr/Desktop/ruby_playground/observe/log/development.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed. Exiting /Library/Ruby/Gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:345:in
delete': Permission denied - /Users/delejnr/Desktop/ruby_playground/observe/tmp/pids/server.pid (Errno::EACCES) from /Library/Ruby/Gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:345:in
check_pid!' from /Library/Ruby/Gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:246:instart' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.3/lib/rails/commands/server.rb:84:in
start' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.3/lib/rails/commands.rb:76:inblock in <top (required)>' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.3/lib/rails/commands.rb:71:in
tap' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.3/lib/rails/commands.rb:71:in<top (required)>' from bin/rails:4:in
require' from bin/rails:4:in `'
可以請你看看我最新的問題,你似乎專家在鐵軌。 – user1010101 2015-04-05 20:31:48
非常感謝,它存在但我如何檢查文件的權限? – 2015-04-06 05:41:56
@DeleJnrEribo你在運行什麼操作系統? – deW1 2015-04-06 13:38:50