yes…but I still got the same result when I ran the application
myfirst …
any way to get Ruby , rails to tell us what it really doesnt like vs.
unknown error
On Aug 21, 1:06 pm, Rails L. [email protected]
yes…but I still got the same result when I ran the application
myfirst …
any way to get Ruby , rails to tell us what it really doesnt like vs.
unknown error
On Aug 21, 1:06 pm, Rails L. [email protected]
Does anyone have any ideas on this ?
I hate to abandon Ruby but the error…
/!\ FAILSAFE /!\ Wed Aug 26 10:40:18 -0400 2009
Status: 500 Internal Server Error
unknown error
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in initialize' C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in
dlopen’
Isn’t very revealing…why wouldnt my appliaction environment be
able to show or my first controller work ?
The error message you’re getting indicates that ruby is having a
problem loading a dynamic library. From the long error report you
posted on Aug 21 it looks like the problem is related to loading the
sqlite3 library:
/!\ FAILSAFE /!\ Fri Aug 21 12:56:58 -0400 2009
Status: 500 Internal Server Error
unknown error
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in initialize' C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in
dlopen’
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in dlload' C:/Ruby/lib/ruby/1.8/dl/import.rb:27:in
each’
C:/Ruby/lib/ruby/1.8/dl/import.rb:27:in `dlload’
C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-x86-mswin32/lib/
sqlite3/driver/dl/api.rb:63
You might want to reinstall the sqlite3-ruby gem:
gem uninstall sqlite3-ruby
gem install sqlite3-ruby
He is running on Windows.
I had to put sqlite3.dll and tclsqlite3.dll in my c:\ruby\bin directory.
See if that fixes it.
I had the same problem.
In the dir C:\ruby\lib\ruby\gems\1.8\gems\sqlite3-ruby-1.2.5-x86-
mswin32 that is where sqlite3 is installed, I executed setup.rb and
the problem was solved.
ok…do all the steps mentioned I still get the same error message…
Why doesnt Webrick tell us more about what exactly is wrong !?!?!!?
/!\ FAILSAFE /!\ Fri Aug 21 12:56:58 -0400 2009
Status: 500 Internal Server Error
unknown error
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in initialize' C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in
dlopen’
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in dlload' C:/Ruby/lib/ruby/1.8/dl/import.rb:27:in
each’
C:/Ruby/lib/ruby/1.8/dl/import.rb:27:in dlload' C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-x86-mswin32/lib/ sqlite3/driver/dl/api.rb:63 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require’
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/ active_support/dependencies.rb:156:in
require’
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/
active_support/dependencies.rb:521:in new_constants_in' C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/ active_support/dependencies.rb:156:in
require’
C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-x86-mswin32/lib/
sqlite3/driver/dl/driver.rb:33
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require’
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/
active_support/dependencies.rb:156:in require' C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/ active_support/dependencies.rb:521:in
new_constants_in’
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/
active_support/dependencies.rb:156:in require' C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-x86-mswin32/lib/ sqlite3/database.rb:643:in
load_driver’
C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-x86-mswin32/lib/
sqlite3/database.rb:641:in each' C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-x86-mswin32/lib/ sqlite3/database.rb:641:in
load_driver’
C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-x86-mswin32/lib/
sqlite3/database.rb:107:in initialize' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/ active_record/connection_adapters/sqlite3_adapter.rb:13:in
new’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/sqlite3_adapter.rb:13:in
sqlite3_connection' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/ active_record/connection_adapters/abstract/connection_pool.rb:223:in
send’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:223:in
new_connection' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/ active_record/connection_adapters/abstract/connection_pool.rb:245:in
checkout_new_connection’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:188:in
checkout' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/ active_record/connection_adapters/abstract/connection_pool.rb:184:in
loop’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:184:in
checkout' C:/Ruby/lib/ruby/1.8/monitor.rb:242:in
synchronize’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:183:in
checkout' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/ active_record/connection_adapters/abstract/connection_pool.rb:98:in
connection’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_pool.rb:326:in
retrieve_connection' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/ active_record/connection_adapters/abstract/connection_specification.rb: 123:in
retrieve_connection’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
115:in connection' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/ active_record/query_cache.rb:9:in
cache’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/
active_record/query_cache.rb:28:in call' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/ active_record/connection_adapters/abstract/connection_pool.rb:361:in
call’
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/head.rb:9:in
call' C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/ methodoverride.rb:24:in
call’
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/
action_controller/params_parser.rb:15:in call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/ action_controller/session/cookie_store.rb:93:in
call’
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/
action_controller/reloader.rb:29:in call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/ action_controller/failsafe.rb:26:in
call’
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in
call' C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in
synchronize’
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in
call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/ action_controller/dispatcher.rb:106:in
call’
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/rails/rack/
static.rb:31:in call' C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in
call’
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in
each' C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in
call’
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/rails/rack/
log_tailer.rb:17:in call' C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/ content_length.rb:13:in
call’
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/handler/
webrick.rb:46:in service' C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in
service’
C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in run' C:/Ruby/lib/ruby/1.8/webrick/server.rb:173:in
start_thread’
C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in start' C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in
start_thread’
C:/Ruby/lib/ruby/1.8/webrick/server.rb:95:in start' C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in
each’
C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in start' C:/Ruby/lib/ruby/1.8/webrick/server.rb:23:in
start’
C:/Ruby/lib/ruby/1.8/webrick/server.rb:82:in start' C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/handler/ webrick.rb:13:in
run’
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/commands/server.rb:
111
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require’
script/server:3
Hello,
I have readed whole topic and I have done everything what was wrote
above but the error is still showing.
I have attacher a photo with error message.
I am complete newbie and simply I need some on start.
Hope somebody will help me.
mgpowers wrote:
Does anyone have any ideas on this ?
I hate to abandon Ruby but the error…
/!\ FAILSAFE /!\ Wed Aug 26 10:40:18 -0400 2009
Status: 500 Internal Server Error
unknown error
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:ininitialize' C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in
dlopen’Isn’t very revealing…why wouldnt my appliaction environment be
able to show or my first controller wo
Hi I had the same problem but its working now. Try just runing the
server and entering http://localhost:3000, click on the link “About
your aplications environment” if you see an error then it is a database
problem. In your prompt enter the config binder and in a text editor
look at the file database.yml if it says Adapter:sqlite3 then you need
to install sqlite3. Type in the prompt gem install sqlite3-ruby, to
complete the installation you have to download a dll and copy it to
windows\system32 o sysWOW64 o system you can find the dll file at
http://wiki.rubyonrails.org/database-support/sqlite.
If the databse.yml was related to mysql probably you set up a password
when installing it and probably you would need to edit the yml file to
add it.
Hope it works…
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs