Project

General

Profile

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.

  1. from /root/redmine-2.6.0/Gemfile:51
  2. -------------------------------------------
  3. if File.exist?(database_file)
    > database_config = YAML::load(ERB.new(IO.read(database_file)).result)
  4. adapters = database_config.values.map {|c| c['adapter']}.compact.uniq
  5. -------------------------------------------

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?

    (1-1/1)