Closed nogeek closed 10 years ago
What's in your database.yml?
Actually using MongoDB with Mongoid but the database.yml is still there as:
#SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000
the mongoid.yml:
development:
host: localhost
database: thedb_development
identity_map_enabled: false
frontend:
host: localhost
database: thedb_development
identity_map_enabled: true
test:
host: localhost
database: thedb_test
identity_map_enabled: true
staging:
database: thedb_staging
identity_map_enabled: true
production:
database: thedb_prod
Can't swear to it, but comment out the code in the database.yml file. Might be trying to load the connection to sqlite3 that is not in your gemfile.
I commented out the database.yml but same problem unfortunately
Still get this?
I am having a similar issue myself when trying to pass in options to thin.
When I run thin start things go as planned but if I pass in any other options (outside of -e, -p) my thin instance will hang or say that its started the server but with upon looking for the process it doesn't exist.
I have seen elsewhere that there is a suggestion to upgrade to 1.6 but for our application we do not have that option because of the rack dependencies.
I just fixed the issue preventing to upgrade to 1.6. Try again please.
Closing this one as I don't think it's related.
Thin just seems to shut down on me as soon as it starts up. The trace is as follows:
The same happens with script/rails server
My gemfile is below:
and the config.ru is below: