600host.net
On 13 Jan, 18:55, "jason white" <[email protected]> wrote: > who are you hosting your site with? > > On Tue, Jan 13, 2009 at 12:52 PM, Dr_Gavin <[email protected]> wrote: > > > Okay - so I'm guessing now that the problem is with my app and MYSQL > > > "MissingSourceFile (no such file to load -- mysql)" > > > I have installed the MySQL 2.7 gem on my domain using the options > > provided by my host. After rebooting (and reloading) I still have the > > same issue. > > > Anyone have any ideas? I'm starting to go bald! > > > (:o| > > > On 13 Jan, 18:37, Dr_Gavin <[email protected]> wrote: > > > Most recent entry to the log, when I visit the homepage: > > > > Processing Public::HomepageController#index (for 84.64.194.14 at > > > 2009-01-13 18:18:10) [GET] > > > Parameters: {"action"=>"index", "controller"=>"public/homepage"} > > > > Processing Public::HomepageController#index (for 84.64.194.14 at > > > 2009-01-13 18:18:10) [GET] > > > Parameters: {"action"=>"index", "controller"=>"public/homepage"} > > > > MissingSourceFile (no such file to load -- mysql): > > > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > > > `gem_original_require' > > > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > > > `require' > > > /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/ > > > dependencies.rb:155:in `require' > > > /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/ > > > core_ext/kernel/requires.rb:7:in `require_library_or_gem' > > > /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/ > > > core_ext/kernel/reporting.rb:11:in `silence_warnings' > > > /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/ > > > core_ext/kernel/requires.rb:5:in `require_library_or_gem' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > connection_adapters/mysql_adapter.rb:63:in `mysql_connection' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > connection_adapters/abstract/connection_pool.rb:223:in `send' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > connection_adapters/abstract/connection_pool.rb:223:in > > > `new_connection' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > connection_adapters/abstract/connection_pool.rb:245:in > > > `checkout_new_connection' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > connection_adapters/abstract/connection_pool.rb:188:in `checkout' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > connection_adapters/abstract/connection_pool.rb:184:in `loop' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > connection_adapters/abstract/connection_pool.rb:184:in `checkout' > > > /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > connection_adapters/abstract/connection_pool.rb:183:in `checkout' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > connection_adapters/abstract/connection_pool.rb:98:in `connection' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > connection_adapters/abstract/connection_pool.rb:326:in > > > `retrieve_connection' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > connection_adapters/abstract/connection_specification.rb:121:in > > > `retrieve_connection' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > connection_adapters/abstract/connection_specification.rb:113:in > > > `connection' > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > query_cache.rb:8:in `cache' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > caching/sql_cache.rb:12:in `perform_action' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > base.rb:524:in `send' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > base.rb:524:in `process_without_filters' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > filters.rb:606:in `process_without_session_management_support' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > session_management.rb:134:in `process' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > base.rb:392:in `process' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > dispatcher.rb:183:in `handle_request' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > dispatcher.rb:110:in `dispatch_unlocked' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > dispatcher.rb:123:in `dispatch' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > dispatcher.rb:122:in `synchronize' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > dispatcher.rb:122:in `dispatch' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > dispatcher.rb:132:in `dispatch_cgi' > > > /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/ > > > dispatcher.rb:39:in `dispatch' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/ > > > rails.rb:76:in `process' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/ > > > rails.rb:74:in `synchronize' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/ > > > rails.rb:74:in `process' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb: > > > 159:in `process_client' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb: > > > 158:in `each' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb: > > > 158:in `process_client' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb: > > > 285:in `run' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb: > > > 285:in `initialize' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb: > > > 285:in `new' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb: > > > 285:in `run' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb: > > > 268:in `initialize' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb: > > > 268:in `new' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb: > > > 268:in `run' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/ > > > configurator.rb:282:in `run' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/ > > > configurator.rb:281:in `each' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/ > > > configurator.rb:281:in `run' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in > > > `run' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/ > > > command.rb:212:in `run' > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 > > > /usr/bin/mongrel_rails:19:in `load' > > > /usr/bin/mongrel_rails:19 > > > > Rendering /home/thinkers/public_html/thinkers/public/500.html (500 > > > Internal Server Error) > > > > ---------------- > > > > Not sure if this offers any useful info? > > > > On 13 Jan, 18:17, "jason white" <[email protected]> > > > wrote: > > > > > what errors are in the production log? > > > > > Jason > > > > > On Tue, Jan 13, 2009 at 12:13 PM, Dr_Gavin <[email protected]> > > wrote: > > > > > > Thanks Craig > > > > > I didn't actually realise there was a deployment group. > > > > > > I've managed to get the app running on the server now. > > > > > > In my routes.rb I have set map.root to my homepage controller's index > > > > > > In deployment mode, I remove public/index.html and my homepage action > > > > > became the default index path > > > > > This worked fine in deployment mode but now that I've launched in > > > > > production mode, the homepage shows a 500 error. > > > > > > Can anybody advise? > > > > > > Thanks > > > > > > On 13 Jan, 14:44, "Craig Demyanovich" <[email protected]> > > wrote: > > > > > > If you post specific problems, I'm sure folks here will try to > > help. You > > > > > > might also check out the deployment group: > > > > > > >http://groups.google.com/group/rubyonrails-deployment > > > > > > > Regards, > > > > > > Craig --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

