On 11/27/2010 10:28 AM, Paul Roche wrote:
> Ah, I created a new app, specific to the new ruby version. When I try
> and run the server I get an error mesasge. Please find attached
>
> Attachments:
> http://www.ruby-forum.com/attachment/5468/error.JPG
>
>
The punchline is your version of sqlite3.dll is not the same version
that the sqlite3 gem on your system was compiled against. You'll have to
look at the homepage for the Sqlite3 gem to determine the proper version
of Sqlite3 dll to download.
That said, I saw on an earlier post that you are using Instant Rails. I
strongly advise against it. Instant Rails is years out of date and has
long since ceased to be supported. Instead I'd recommend downloading
1.9.2 from http://rubyinstaller.org/ and installing Rails 3 the normal
way (gem install rails). This will give you a setup that is known to
work, and as a bonus, IIRC the sqlite3 gem compiled for that version of
Ruby includes the correct dll in it's distribution. Ruby Installer
also provides an addon called DevKit
(http://rubyinstaller.org/add-ons/devkit/) which will make it much
easier to install C based addons that would be a nightmare in Instant Rails.
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment