title: I can't find the code of a Ruby web application
body: <p>I'm super new to web development, but not new to programming as a whole. I'm extremely confused by this application which I was pulled into fixing because the person who normally does it can't anymore.</p>
  <p>This may be a silly question, but I can't find the code or any HTML that contains the actual web pages. In the main folder, <code>~/myapp</code>, there contains:</p>
  <pre><code>- README.txt
  - build
  - env
      - bin
      - include
      - lib
      - local
      - man
      - passenger_wsgi.py
      - passenger_wsgi.pyc
      - pip-selfcheck.json
      - public
          - favicon.gif
          - favicon.ico
      - quickstart.html
      - sd.html
      - tmp
  - error.log
  - favicon.gif
  - favicon.ico
  - get-pip.py
  - phpinfo.php
  - pylibs
  - quickstart.html
  - sd.log
  - myapp_flask
  </code></pre>
  <h2>Observations:</h2>
  <ul>
  <li><code>env/bin/</code>, <code>env/include/</code>, and <code>env/lib/</code> all have what appear to be versions of python in them.</li>
  <li><code>env/local/</code> contains its own <code>bin/</code>, <code>include/</code>, and <code>lib/</code> directories that contain the exact same thing as the others.</li>
  <li>tmp contains the standard <code>restart.txt</code> used for Apache rails applications. (Note: <code>touch</code>ing this does restart the server, so this <code>env/</code> directory is linked to the application itself.).</li>
  </ul>
  <h2>Questions:</h2>
  <ul>
  <li>Does anyone recognize this file structure? What application type is it? Php? Rails? Something else?</li>
  <li>Does anyone know where I could look for the code that contains the actual web page? This is a full-fledged, live webpage that people have been using for a while, but I can't find the html (not even for the homepage). I've been searching for days, so I know I'm going about this wrong.</li>
  </ul>
  <h2>Additional notes:</h2>
  <p>This error occurs when I restart the web application with <code>touch tmp/restart.txt/</code></p>
  <pre><code>Web application could not be started
  An error occurred while starting the web application. It exited before signalling successful startup back to Phusion Passenger. Please read this article for more information about this problem.
  Raw process output:
  Traceback (most recent call last):
    File &quot;/usr/share/passenger/helper-scripts/wsgi-loader.py&quot;, line 26, in &lt;module&gt;
      import sys, os, re, imp, threading, signal, traceback, socket, select, struct, logging, errno
    File &quot;/usr/lib/python2.7/logging/__init__.py&quot;, line 26, in &lt;module&gt;
      import sys, os, time, cStringIO, traceback, warnings, weakref, collections
    File &quot;/usr/lib/python2.7/weakref.py&quot;, line 14, in &lt;module&gt;
      from _weakref import (
  ImportError: cannot import name _remove_dead_weakref
  </code></pre>
  <p>both <code>quickstart.html</code> contents are identical:</p>
  <pre><code>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
  &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
  &lt;head&gt;
          &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;/&gt;
          &lt;title&gt;DreamHost&lt;/title&gt;
          &lt;link media=&quot;all&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://dreamhost.com/wp-content/themes/dreamhost/style.css&quot; /&gt;
  &lt;/head&gt;
  &lt;body id=&quot;domains&quot;&gt;
          &lt;div class=&quot;w1&quot;&gt;
                  &lt;div class=&quot;w2&quot;&gt;
                          &lt;div id=&quot;wrapper&quot;&gt;
                                  &lt;div id=&quot;header&quot;&gt;
                                          &lt;strong class=&quot;comingsoon-logo&quot;&gt;&lt;a href=&quot;http://www.dreamhost.com/&quot;&gt;DreamHost Imagine the Web, Your Way&lt;/a&gt;&lt;/strong&gt;
                                  &lt;/div&gt;
                                  &lt;div class=&quot;main&quot; style=&quot;padding-bottom: 24px&quot;&gt;
                                          &lt;h1&gt;sendsomething.net Coming Soon!&lt;/h1&gt;
                                          &lt;div class=&quot;holder&quot;&gt;
                                                  &lt;div class=&quot;content&quot;&gt;
                                                          &lt;p&gt;The DreamHost customer who owns sendsomething.net has not yet uploaded their website or has chosen to leave this holding page active.&lt;/p&gt;
                                                          &lt;p&gt;If you are the owner of this domain, you'll find your login information contained within the emails sent to you when your account was activated. Once logged in, you'll be able to delete this page (quickstart.html) and upload your new site.&lt;/p&gt;
                                                          &lt;p&gt;Here are some helpful links for getting started:&lt;/p&gt;
                                                          &lt;p&gt;
                                                                  &lt;a href=&quot;https://panel.dreamhost.com/&quot;&gt;&lt;img src=&quot;http://images.dreamhost.com/btn-orange-webpanel.png&quot; alt=&quot;DreamHost Web Panel&quot; title=&quot;DreamHost Web Panel&quot; /&gt;&lt;/a&gt;
                                                                  &lt;a href=&quot;http://wiki.dreamhost.com/&quot;&gt;&lt;img src=&quot;http://images.dreamhost.com/btn-blue-wiki.png&quot; alt=&quot;DreamHost Wiki&quot; title=&quot;DreamHost Wiki&quot; /&gt;&lt;/a&gt;
                                                                  &lt;a href=&quot;http://discussion.dreamhost.com/&quot;&gt;&lt;img src=&quot;http://images.dreamhost.com/btn-green-discussion.png&quot; alt=&quot;DreamHost Discussion Forum&quot; title=&quot;DreamHost Discussion Forum&quot; /&gt;&lt;/a&gt;
                                                          &lt;/p&gt;
                                                  &lt;/div&gt;
                                          &lt;/div&gt;
                                  &lt;/div&gt;
                          &lt;/div&gt;
                  &lt;/div&gt;
          &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  <p>Thank you for your time and assistance!</p>
  <h2>Edit:</h2>
  <p>Per request of answerer, Here are the contents of <code>~/myapp/myapp_flask/</code>:</p>
  <pre><code>- .hg
  - .hgignore
  - backup_config.ini
  - backup_db
  - db_backups
  - db_repo
  - dbmanage.py
  - doc
  - dump.sql
  - example_backup_config.ini
  - instance
  - migrate_dbs.py
  - new.db
  - new_bkp.db
  - requirements.txt
  - restored.db
  - restored.dbe
  - myapp
      - __init__.py
      - __init__.py.orig
      - __init__.pyc
      - app.py
      - app.pyc
      - forms.py
      - forms.pyc
      - helpers.py
      - helpers.pyc
      - static
      - templates
      - user.py
      - user.pyc
      - views.py
      - views.pyc
  - myapp.wsgi
  - teste.db
  - webfaction.db
  </code></pre>