Configure_bundler fails

I see this thread has gone stale. I have almost the same issue.

Here is what I have going on (commands and outputs):

***** BEGIN TERMINAL OUTPUT *****

[diaspora@diaspora-pod001 diaspora]$ pwd
/home/diaspora/diaspora
[diaspora@diaspora-pod001 diaspora]$ gem install bundler
Successfully installed bundler-2.1.4
Parsing documentation for bundler-2.1.4
Done installing documentation for bundler after 5 seconds
1 gem installed
[diaspora@diaspora-pod001 diaspora]$ script/configure_bundler
Traceback (most recent call last):
9: from script/configure_bundler:7:in <main>' 8: from /home/diaspora/diaspora/config/bundler_helper.rb:8:in rails_env’
7: from /home/diaspora/diaspora/config/bundler_helper.rb:22:in parse_value_from_file' 6: from /home/diaspora/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/psych.rb:577:in load_file’
5: from /home/diaspora/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/psych.rb:577:in open' 4: from /home/diaspora/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/psych.rb:578:in block in load_file’
3: from /home/diaspora/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/psych.rb:277:in load' 2: from /home/diaspora/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/psych.rb:390:in parse’
1: from /home/diaspora/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/psych.rb:456:in parse_stream' /home/diaspora/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/psych.rb:456:in parse’: (/home/diaspora/diaspora/config/diaspora.yml): did not find expected key while parsing a block mapping at line 26 column 1 (Psych::SyntaxError)
[diaspora@diaspora-pod001 diaspora]$ git status
On branch master
Your branch is up to date with ‘origin/master’.

nothing to commit, working tree clean
[diaspora@diaspora-pod001 diaspora]$

***** END TERMINAL OUTPUT *****

Please advise…

I should specify, I’m running CentOS Linux release 8.2.2004 (Core) and Apache/2.4.37 (centos)

I’m following the instructions here:
https://wiki.diasporafoundation.org/Installation/CentOS/8

Your diaspora.yml got a syntax error, likely somewhere before line 26. Note that YAML is very whitespace sensitive, when you comment in a setting only remove the #, don’t remove or add any spaces.

Yes, that was it (or so I believe). On the:
configuration: ## Section
and
url: “https…”

I had removed all the spaces and placed them at the beginning of the line. After adding the spaces, it now shows:

***** BEGIN TERMINAL OUTPUT *****

[diaspora@diaspora-pod001 diaspora]$ gem install bundler
Successfully installed bundler-2.1.4
Parsing documentation for bundler-2.1.4
Done installing documentation for bundler after 5 seconds
1 gem installed
[diaspora@diaspora-pod001 diaspora]$ script/configure_bundler
Configuring Bundler for development environment and postgresql database.
$ bin/bundle config --local jobs 4
You are replacing the current local value of jobs, which is currently nil
$ bin/bundle config --local with postgresql
You are replacing the current local value of with, which is currently nil
Bundler configured! Please run ‘bin/bundle install’ now.

***** END TERMINAL OUTPUT *****

So far so good. Thank you for your quick reply!