This project is archived and is in readonly mode.
Rails 2.3.5 on Windows: script/dbconsole cannot find sqlite3
-
Rollo Tomazzi
Hello,
For good measure, I've also created a ticket 27858 in the RubyInstaller project at Rubyforge.
Thanks,
Rollo -
Rollo Tomazzi
Okay, so Luis at RubyForge has clarified the issue.
The way dbconsole.find_cmd identifies the Windows environment is definitely not the way it should be. Information related to the simple fix to be implemented is here: http://blog.emptyway.com/2009/11/03/proper-way-to-detect-windows-
platform-in-ruby/
Looks simple enough.Thanks,
Rollo -
Rollo Tomazzi
Should have used Markdown for the link. Here it is: proper-way-to-detect-windows-platform-in-ruby
-
Andrew Grimm
The bad news: I created a duplicate with #4470 DB console doesn't run for all Windows-based ruby implementations
The good news: I supplied a patch. -
Anil Wadghule
- Assigned user set to Jeremy Kemper
-
Repository
- State changed from new to committed
(from [e813ad2a42549e308a69fd9473f1b9ed531a0d7e]) Make db console work for all versions of ruby on Windows.
[#3999 Rails 2.3.5 on Windows: script/dbconsole cannot find sqlite3 state:committed]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/e813ad2a42549e308a69fd9473f1b9...
