Hello list,
I’m attempting to deploy my first rails app on textdrive and have run
into a problem. I currently have lighttpd running and I am able to
start my rails app. When I attempt to visit my site I get an:
Application Error (Rails)
Investigating my production.log it looks like the app isn’t finding
sqlite3, right? Do I need to pack that with the app? What about non
rails-specific gems?
Here is my production log after deployment:
################################
Processing PostsController#index (for 70.23.198.98 at 2006-08-07
19:27:49) [GET]
Session ID: 6ee716e34a6b3fb9317b42aab670e114
Parameters: {“action”=>“index”, “controller”=>“posts”}
MissingSourceFile (no such file to load – sqlite3):
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:147:in
require' /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/kernel/requires.rb:7:in
require_library_or_gem’
/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in
silence_warnings' /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/kernel/requires.rb:5:in
require_library_or_gem’
/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:14:in
sqlite3_connection' /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:251:in
connection_without_query_cache=’
/vendor/rails/activerecord/lib/active_record/query_cache.rb:54:in
connection=' /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:220:in
retrieve_connection’
/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:78:in
connection' /vendor/rails/activerecord/lib/active_record/base.rb:696:in
columns’
/vendor/rails/activerecord/lib/active_record/calculations.rb:213:in
column_for' /vendor/rails/activerecord/lib/active_record/calculations.rb:135:in
calculate’
/vendor/rails/activerecord/lib/active_record/calculations.rb:64:in
count' /vendor/rails/actionpack/lib/action_controller/pagination.rb:172:in
count_collection_for_pagination’
/vendor/rails/actionpack/lib/action_controller/pagination.rb:196:in
paginator_and_collection_for' /vendor/rails/actionpack/lib/action_controller/pagination.rb:129:in
paginate’
/app/controllers/posts_controller.rb:13:in list' /app/controllers/posts_controller.rb:3:in
index’
/vendor/rails/actionpack/lib/action_controller/base.rb:910:in
perform_action_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:368:in
perform_action_without_benchmark’
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
perform_action_without_rescue' /usr/local/lib/ruby/1.8/benchmark.rb:293:in
measure’
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
perform_action_without_rescue' /vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in
perform_action’
/vendor/rails/actionpack/lib/action_controller/base.rb:381:in
process_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:377:in
process_without_session_management_support’
/vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in
process' /vendor/rails/railties/lib/dispatcher.rb:38:in
dispatch’
/vendor/rails/railties/lib/fcgi_handler.rb:150:in process_request' /vendor/rails/railties/lib/fcgi_handler.rb:54:in
process!’
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:600:in each_cgi' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in
each_cgi’
/vendor/rails/railties/lib/fcgi_handler.rb:53:in process!' /vendor/rails/railties/lib/fcgi_handler.rb:23:in
process!’
/users/home/josephmoore/web/public/dispatch.fcgi:24
###############################
Thanks,
Joe