Merrick Christensen
2010-Feb-28 03:01 UTC
Rails Server Failing - No such file or directory - tmp/pids/server.pid
I apologize for my stupidity. I''ve been running rails on this machine for a few months. I have upgraded to Ruby on Rails 3 to start playing around. When running the "rails server" I get the following output. Any help is much appreciated. I installed Rails 3 very easily on my box at work. But here, not so much. It''s been a few hours, I can''t talk in IRC - not sure why. Getting frustrated with myself. Thanks for any help in advance! merrick-christensens-mac-pro:campaignarkitekt.com Merrick$ rails server => Booting WEBrick => Rails 3.0.0.beta application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /opt/local/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/server.rb:208:in `initialize'': No such file or directory - tmp/pids/server.pid (Errno::ENOENT) from /opt/local/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/server.rb: 208:in `open'' from /opt/local/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/server.rb: 208:in `write_pid'' from /opt/local/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/server.rb: 154:in `start'' from /opt/local/lib/ruby/gems/1.8/gems/railties-3.0.0.beta/lib/rails/ commands/server.rb:49:in `start'' from /opt/local/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/server.rb: 83:in `start'' from /opt/local/lib/ruby/gems/1.8/gems/railties-3.0.0.beta/lib/rails/ commands.rb:39 from /Users/Merrick/Work/Arkitekt/Projects/Campaign Arkitekt/ campaignarkitekt.com/script/rails:10:in `require'' from /Users/Merrick/Work/Arkitekt/Projects/Campaign Arkitekt/ campaignarkitekt.com/script/rails:10 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Merrick Christensen
2010-Mar-01 04:31 UTC
Re: Rails Server Failing - No such file or directory - tmp/pids/server.pid
Nobody? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
ChrisT
2010-Mar-01 16:04 UTC
Re: Rails Server Failing - No such file or directory - tmp/pids/server.pid
No idea why it''s failing, but just make the directory yourself for now. From rails root: mkdir temp;mkdir temp pids On Feb 28, 9:31 pm, Merrick Christensen <merrick.christen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Nobody?-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
ChrisT
2010-Mar-01 16:09 UTC
Re: Rails Server Failing - No such file or directory - tmp/pids/server.pid
Er, mkdir tmp;mkdir tmp/pids I ran into the same issue and making these directories by hand cleared it up just fine. On Mar 1, 9:04 am, ChrisT <ccth...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> No idea why it''s failing, but just make the directory yourself for > now. > From rails root: mkdir temp;mkdir temp pids > > On Feb 28, 9:31 pm, Merrick Christensen > > > > <merrick.christen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Nobody?-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Ben M.
2011-Aug-07 22:37 UTC
Re: Rails Server Failing - No such file or directory - tmp/pids/server.pid
I had this problem. I deleted my app''s directory and brought down the code from scratch from GitHub. Rails server worked after that. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.