Hi all,
Please help me.In my first attempt to creat a simple
controller and working with hello world program.I got some error
though I have my action and view correctly.......
In general..When I type http://localhost:3000/ I can get the welcome
page.But when I see the "About your application Envinorment"..I get
some error as following..
MissingSourceFile in Rails/infoController#properties
no such file to load -- sqlite3
RAILS_ROOT: /home/sugi/hello_world
Application Trace | Framework Trace | Full Trace
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
`require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in
`new_constants_in''
vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
`require''
vendor/rails/activesupport/lib/active_support/core_ext/kernel/
requires.rb:7:in `require_library_or_gem''
vendor/rails/activesupport/lib/active_support/core_ext/kernel/
reporting.rb:11:in `silence_warnings''
vendor/rails/activesupport/lib/active_support/core_ext/kernel/
requires.rb:5:in `require_library_or_gem''
vendor/rails/activerecord/lib/active_record/connection_adapters/
sqlite3_adapter.rb:10:in `sqlite3_connection''
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/connection_specification.rb:292:in `send''
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/connection_specification.rb:292:in `connection=''
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/connection_specification.rb:260:in `retrieve_connection''
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/connection_specification.rb:78:in `connection''
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
`cache''
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
12:in `perform_action''
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send''
vendor/rails/actionpack/lib/action_controller/base.rb:529:in
`process_without_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:569:in
`process_without_session_management_support''
vendor/rails/actionpack/lib/action_controller/session_management.rb:
130:in `process''
vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in
`handle_request''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in
`dispatch''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`synchronize''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`dispatch''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in
`dispatch_cgi''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in
`dispatch''
vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch''
vendor/rails/railties/lib/webrick_server.rb:78:in `service''
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread''
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start''
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread''
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start''
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each''
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start''
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start''
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start''
vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch''
vendor/rails/railties/lib/commands/servers/webrick.rb:66
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
`require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in
`new_constants_in''
vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
`require''
vendor/rails/railties/lib/commands/server.rb:39
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require''
script/server:3
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
`require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in
`new_constants_in''
vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
`require''
vendor/rails/activesupport/lib/active_support/core_ext/kernel/
requires.rb:7:in `require_library_or_gem''
vendor/rails/activesupport/lib/active_support/core_ext/kernel/
reporting.rb:11:in `silence_warnings''
vendor/rails/activesupport/lib/active_support/core_ext/kernel/
requires.rb:5:in `require_library_or_gem''
vendor/rails/activerecord/lib/active_record/connection_adapters/
sqlite3_adapter.rb:10:in `sqlite3_connection''
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/connection_specification.rb:292:in `send''
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/connection_specification.rb:292:in `connection=''
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/connection_specification.rb:260:in `retrieve_connection''
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/connection_specification.rb:78:in `connection''
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
`cache''
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
12:in `perform_action''
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send''
vendor/rails/actionpack/lib/action_controller/base.rb:529:in
`process_without_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:569:in
`process_without_session_management_support''
vendor/rails/actionpack/lib/action_controller/session_management.rb:
130:in `process''
vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in
`handle_request''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in
`dispatch''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`synchronize''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`dispatch''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in
`dispatch_cgi''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in
`dispatch''
vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch''
vendor/rails/railties/lib/webrick_server.rb:78:in `service''
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread''
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start''
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread''
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start''
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each''
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start''
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start''
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start''
vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch''
vendor/rails/railties/lib/commands/servers/webrick.rb:66
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
`require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in
`new_constants_in''
vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
`require''
vendor/rails/railties/lib/commands/server.rb:39
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require''
script/server:3
This error occurred while loading the following files:
sqlite3
Request
Parameters:
None
Show session dump
---
flash: !map:ActionController::Flash::FlashHash {}
Response
Headers:
{"cookie"=>[],
"Cache-Control"=>"no-cache"}
When I run my helloworld,I get the same errror.I am just a
newbie.Please help me..
Thanks,
Regards,
Sugi.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---