This project is archived and is in readonly mode.
DB console doesn't run for all Windows-based ruby implementations
-
Andrew Grimm
The following patch replaces an imperfect test for Windows using RUBY_PLATFORM with one that is more extensive and uses rbconfig's host_os value, as advocated by Proper way to detect Windows platform in Ruby.
I haven't encountered any other cases of rbconfig being used this way in Rails.
As the code that introduced this issue was written in 4a07103687084496b773e18a03b1f2f5e686f7ad (May 4, 2008), this fix may have to be applied to other branches as well.
-
Andrew Grimm
- Tag changed from dbconsole to bugs, dbconsole, patch
I've just realized that this is a duplicate of #3999 Rails 2.3.5 on Windows: script/dbconsole cannot find sqlite3. I thought this was such an easily fixed bug that I didn't need to check whether it was reported before.
-
Ryan Bigg
- State changed from new to duplicate
Duplicate of #3999 Rails 2.3.5 on Windows: script/dbconsole cannot find sqlite3. Please attach the patch there.
