First App- Error 500

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.

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: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 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...

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.

Attachments: http://www.ruby-forum.com/attachment/4688/error.PNG