Can't start an old version of redmine (0.8.4)
Added by sebastián scarano over 6 years ago
I have to bring back and old version of redmine, and make it work on windows 7. I have a mysql backup but first I want to have a working installation.
I installed ruby and rake
C:\>ruby --version
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
C:\>gem --version
1.5.2
C:\>rake --version
rake, version 0.8.7
I found here an installable, uncompressed it, and tried to follow this guide
I created the db (using mysql 5.5.12) and the redmine user.
Configured it on config/database.yml
When I try to exec rake generate_session_store I get:
C:\devel\redmine-test>rake generate_session_store
(in C:/devel/redmine-test)
rake aborted!
Don't know how to build task 'generate_session_store'(See full trace by running task with --trace)
And then when I try to create the db I get:
C:\devel\redmine-test>set RAILS_ENV=production
C:\devel\redmine-test>rake db:migrate
(in C:/devel/redmine-test)
rake aborted!
#08S01Bad handshake(See full trace by running task with --trace)
Running with --trace effectively shows that it cannot connect to the db.
Any idea what could be wrong?
ps: running on windows 7 enterprise
Running script\about also fails misserably
C:\devel\redmine-test>setx RAILS_ENV production
C:\devel\redmine-test>ruby script\about
C:/devel/opt/ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `ge
m_original_require': no such file to load -- rails/info (MissingSourceFile)
from C:/devel/opt/ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require
.rb:29:in `require'
[...]