failed to rake generate_secret_token
Added by Mr Li over 8 years ago
[root@b012aec66a33 redmine-2.6.0]# rake generate_secret_token
[!] There was an error parsing `Gemfile`: (<unknown>): could not find expected ':' while scanning a simple key at line 9 column 3. Bundler cannot continue.
- from /root/redmine-2.6.0/Gemfile:51
- -------------------------------------------
- if File.exist?(database_file)
> database_config = YAML::load(ERB.new(IO.read(database_file)).result) - adapters = database_config.values.map {|c| c['adapter']}.compact.uniq
- -------------------------------------------
please help me
Replies (1)
RE: failed to rake generate_secret_token - Added by Pavel Potcheptsov over 8 years ago
What is your ruby version?
Have you tried to update ruby or gem update bundler?