There was an error parsing `Gemfile`: (<unknown>) when run bundle install --without development test

Added by jin jianfeng over 3 years ago


I am installing redmine on windows10, and there was an error when i go to step to run bundle install --without development test. the error information as below:

[!] There was an error parsing `Gemfile`: (<unknown>): invalid leading UTF-8 octet at line 1 column 1. Bundler cannot continue.

  1. from D:/Program Files/redmine/Gemfile:53
  2. -------------------------------------------
  3. eval_gemfile file
    > end
  4. source ''
  5. -------------------------------------------

bundler version is 1.17.3 (2018-12-27 commit d7089abb6)
redmine version is 4.0.0 (2018-12-09)

I have tried transfer Gemfile file format to UTF-8 with notebook, but it still can't work. who could help to provide clue to solve this issue i met, thanks in advance.