N
N
Nikolay Baranenko2017-04-04 04:13:01
Ruby on Rails
Nikolay Baranenko, 2017-04-04 04:13:01

Installing Redmine on Windows 10 x64?

Hello.
First time trying to install Redmine on windows 10 x64.
redmine-3.2.5.
railsinstaller-3.3.0.
C:\Ruby
DevKit and Ruby2.3.0 Redmine in C
:\Ruby\Redmine
on MySQL DB
using www.redmine.org/projects/redmine/wiki/HowTo_Instal...

Create (or update) Redmine database tables
in command window, execute:
cd C:\webserver\Redmine
set RAILS_ENV=production
rake generate_session_store
rake db:migrate

Running rake generate_secret_token returns that the system could not find the specified path
c:\Ruby\Ruby2.3.0\bin>rake generate_secret_token
The system could not find the specified path.
checked in folder c:\Ruby\Ruby2.3.0\bin there is rake.bat
04/03/2017 01:19 206 rackup.bat
04/03/2017 01:30 489 rails
04/03/2017 01:30 205 rails.bat 12/30/2016
11: 41 455 rake
12/30/2016 11:41 348 rake.bat
04/03/2017 01:33 480 rdoc
04/03/2017 01:33 204 rdoc.bat 12/2/2016
13:03 1 134 rdoc.cmd
How to solve this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Karim Kyatlottyavi, 2017-04-05
@constXife

Why did you do it this way?
After all, the manual says
Rake must be run from the root of the project.
But in general, judging by the error, it feels like Windows cannot find rake. Make sure that you have all the paths to ruby ​​and its gems correct, and you can specify ruby ​​-v, gem -v, rake -V in any folder of the system and they will give out the version of the program.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question