Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. bundle exec rails server

bundle exec rails server

Added by Mercurio Cadena over 10 years ago

Hi!

Total newbie… I have no idea how to solve this error:

openprojecthacheg-K46CM:/home/hacheg/openproject$ bundle exec rails server
require ‘rails/all’… 0.570s
Bundler.require… 5.270s
/usr/lib/ruby/1.9.1/psych.rb:203:in `parse’: (): did not find expected key while parsing a block mapping at line 109 column 7 (Psych::SyntaxError)
from /usr/lib/ruby/1.9.1/psych.rb:203:in `parse_stream’
from /usr/lib/ruby/1.9.1/psych.rb:151:in `parse’
from /usr/lib/ruby/1.9.1/psych.rb:127:in `load’
from /home/hacheg/openproject/lib/open_project/configuration.rb:147:in `load_config_from_file’
from /home/hacheg/openproject/lib/open_project/configuration.rb:81:in `load’
from /home/hacheg/openproject/lib/open_project/configuration.rb:106:in `[]’
from /home/hacheg/openproject/config/application.rb:130:in `class:Application’
from /home/hacheg/openproject/config/application.rb:63:in `module:OpenProject’
from /home/hacheg/openproject/config/application.rb:62:in `<top (required)>’
from /var/lib/gems/1.9.1/gems/railties-3.2.19/lib/rails/commands.rb:53:in `require’
from /var/lib/gems/1.9.1/gems/railties-3.2.19/lib/rails/commands.rb:53:in `block in <top (required)>’
from /var/lib/gems/1.9.1/gems/railties-3.2.19/lib/rails/commands.rb:50:in `tap’
from /var/lib/gems/1.9.1/gems/railties-3.2.19/lib/rails/commands.rb:50:in `<top (required)>’
from script/rails:6:in `require’
from script/rails:6:in `

’@


Replies (3)

RE: bundle exec rails server - Added by Mercurio Cadena over 10 years ago

I really could use some help here. Please…

RE: bundle exec rails server - Added by Snake Plissken over 10 years ago

Dear all,

I followed the install guide step-by-step on a clean Debian 7.7 environment. Everything went smoothly until I reached step 8:

(nodeenv)openproject@debian:~/openproject$ bundle exec rake db:create:all —trace
require ‘rails/all’… 0.370s
Bundler.require… 1.260s
rake aborted!
Psych::SyntaxError: (): did not find expected key while parsing a block mapping at line 103 column 1
/home/openproject/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/psych.rb:370:in `parse’
/home/openproject/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/psych.rb:370:in `parse_stream’
/home/openproject/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/psych.rb:318:in `parse’
/home/openproject/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/psych.rb:245:in `load’
/home/openproject/openproject/lib/open_project/configuration.rb:153:in `load_config_from_file’
/home/openproject/openproject/lib/open_project/configuration.rb:87:in `load’
/home/openproject/openproject/lib/open_project/configuration.rb:112:in `[]’
/home/openproject/openproject/config/application.rb:166:in `class:Application’
/home/openproject/openproject/config/application.rb:75:in `module:OpenProject’
/home/openproject/openproject/config/application.rb:74:in `<top (required)>’
/home/openproject/openproject/Rakefile:33:in `require’
/home/openproject/openproject/Rakefile:33:in `<top (required)>’
/home/openproject/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in `load’
/home/openproject/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in `load_rakefile’
/home/openproject/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:687:in `raw_load_rakefile’
/home/openproject/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:94:in `block in load_rakefile’
/home/openproject/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling’
/home/openproject/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:93:in `load_rakefile’
/home/openproject/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:77:in `block in run’
/home/openproject/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling’
/home/openproject/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/lib/rake/application.rb:75:in `run’
/home/openproject/.rvm/gems/ruby-2.1.3/gems/rake-10.3.2/bin/rake:33:in `<top (required)>’
/home/openproject/.rvm/gems/ruby-2.1.3/bin/rake:23:in `load’
/home/openproject/.rvm/gems/ruby-2.1.3/bin/rake:23:in `

’
/home/openproject/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in `eval’
/home/openproject/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in `

’

Anybody…?

Thanks!

RE: bundle exec rails server - Added by Philipp Tessenow over 10 years ago

Hi both,

I guess that for both of you the configuration.yml file has some error in it. yml-Files are pretty sensitive when it comes to whitespace.
You can validate you file with various YAML-pasers/linters — for example here: http://www.yamllint.com/

If you configuration.yml file is valid, the error should disappear.

cheers,
tessi

  • (1 - 3/3)
Loading...