KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm getting this very strange error when I attempt to start my rails application with unicorn. Has anyone seen this before? [root@Web01 mp_app]# unicorn_rails -c config/unicorn.rb -E production -D -d {:daemonize=>true, :app=> #<Proc:0x00002b14fff8c890@/usr/local/lib/ruby/gems/1.8/gems/unicorn-4.0.1/bin/unicorn_rails:135>, :unicorn_options=>{:config_file=>"config/unicorn.rb", :listeners=>[]}} Exception `Errno::ENOENT' at /usr/local/lib/ruby/1.8/fileutils.rb:243 - No such file or directory - tmp/cache Exception `Errno::EEXIST' at /usr/local/lib/ruby/1.8/fileutils.rb:243 - File exists - . Exception `EOFError' at /usr/local/lib/ruby/gems/1.8/gems/unicorn-4.0.1/lib/unicorn/launcher.rb:46 - end of file reached EDIT Thanks to jdeseno, I've solved this by creating the tmp folder myself. But now I'm getting a different error: {:daemonize=>true, :app=> #<Proc:0x00002b90ee5098a8@/usr/local/lib/ruby/gems/1.8/gems/unicorn-4.1.1/bin/unicorn_rails:135>, :unicorn_options=>{:config_file=>"config/unicorn.rb", :listeners=>[]}} Exception `EOFError' at /usr/local/lib/ruby/gems/1.8/gems/unicorn-4.1.1/lib/unicorn/launcher.rb:46 - end of file reached Any ideas on this error? The error message doesn't give much help.
Tags (comma-separated)
Save Edits
Cancel