store_details (Merb::Server)

    # File lib/merb-core/server.rb, line 262
          def store_details(port = nil)
            file = pid_file(port)
            begin
              FileUtils.mkdir_p(File.dirname(file))
            rescue Errno::EACCES => e
              Merb.fatal! "Failed to store Merb logs in #{File.dirname(file)}, " \
                "permission denied. ", e
            end
            Merb.logger.warn! "Storing pid #{Process.pid} file to #{file}..." if Merb::Config[:verbose]
            begin
              File.open(file, 'w'){ |f| f.write(Process.pid.to_s) }
            rescue Errno::EACCES => e
              Merb.fatal! "Failed to access #{file}, permission denied.", e
            end
          end