Can't install Bundle for Redmine
Added by Kwaye Kant over 10 years ago
Hello all,
I am running on a VPS Ubuntu 12.04
Redmine: 2.4.0
Rails: 3.2.13
Gem: 2.0.14
RubyGem: 2.2.2
I have followed the instruction on this page [[http://www.redmine.org/projects/redmine/wiki/InstallRedmineOnDebianStableApacheMysqlPassenger]]. Everything was going well till the time I run bundle install --without development test.
I am getting this error since 2 days now.
Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! /usr/local/lib/ruby/gems/2.0.0/gems/psych-2.0.5/lib/psych.rb:370:in `parse': (<unknown>): found character that cannot start any token while scanning for the next token at line 2 column 1 (Psych::SyntaxError) from /usr/local/lib/ruby/gems/2.0.0/gems/psych-2.0.5/lib/psych.rb:370:in `parse_stream' from /usr/local/lib/ruby/gems/2.0.0/gems/psych-2.0.5/lib/psych.rb:318:in `parse' from /usr/local/lib/ruby/gems/2.0.0/gems/psych-2.0.5/lib/psych.rb:245:in `load' from /opt/redmine/Gemfile:42:in `eval_gemfile' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/dsl.rb:36:in `instance_eval' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/dsl.rb:36:in `eval_gemfile' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/dsl.rb:10:in `evaluate' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/definition.rb:26:in `build' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler.rb:153:in `definition' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/cli/install.rb:76:in `run' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/cli.rb:146:in `install' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/vendor/thor/command.rb:27:in `run' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/vendor/thor/invocation.rb:121:in `invoke_command' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/vendor/thor.rb:363:in `dispatch' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/vendor/thor/base.rb:440:in `start' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/cli.rb:9:in `start' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/bin/bundle:20:in `block in <top (required)>' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/friendly_errors.rb:5:in `with_friendly_errors' from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/bin/bundle:20:in `<top (required)>' from /usr/local/bin/bundle:23:in `load' from /usr/local/bin/bundle:23:in `<main>'
Did somebody have the same issue ? Please help me.
Replies (4)
RE: Can't install Bundle for Redmine - Added by Kwaye Kant over 10 years ago
Nobody has an answer to this question ? Please!
RE: Can't install Bundle for Redmine - Added by Travis Spangle over 10 years ago
I've gotten this too and it specified row 11 col 13. Turns out I didn't have my passwords in quotes in my database.yml.
If line 42 is referring to your gemfile then it may be a jruby thing. What version/flavor of ruby are you using?
RE: Can't install Bundle for Redmine - Added by Bobby Doherty over 9 years ago
I too had this issue, reply from Travis Spangle clued me in that it was something to do with my password in database.yml.
I changed from using symbols & brackets in my generated password and everything worked.
RE: Can't install Bundle for Redmine - Added by M T over 9 years ago
Although the question is old and Bobby Doherty if you have made any recent changes in your *.yml then it is most likely problem with formating.