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. Nginx installation - error while trying to load the gem 'autoprefixer-rails'

Nginx installation - error while trying to load the gem 'autoprefixer-rails'

Added by Alexander Belokon over 9 years ago

Hey, I’m trying to set up OpenProject on Ubuntu 14.04 LTS with nginx. So I followed the manual installation guide until the point where apache and passenger should be installed.
Then I installed passenger this way (nginx was already installed at this point): [[https://www.phusionpassenger.com/library/install/nginx/install/oss/trusty/]]
Finally I created my vhost in nginx with a subdomain (openproject.domain.de).

But if I now try to access the page it tells me: “We’re sorry, but something went wrong.”

The error log tells me this:

[ 2016-01-11 02:22:52.0195 5719/7fb0607f8700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /home/openproject/openproject: An error occurr$
Error ID: 8f3de94c
Error details saved to: /tmp/passenger-error-8V9Zru.html
Message from application: There was an error while trying to load the gem ‘autoprefixer-rails’. (Bundler::GemRequireError)
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.11.2/lib/bundler/runtime.rb:80:in `rescue in block (2 levels) in require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.11.2/lib/bundler/runtime.rb:76:in `block (2 levels) in require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `each’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `block in require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `each’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.11.2/lib/bundler.rb:99:in `require’
/home/openproject/openproject/config/application.rb:66:in `<top (required)>’
/home/openproject/openproject/config/environment.rb:31:in `require’
/home/openproject/openproject/config/environment.rb:31:in `<top (required)>’
config.ru:32:in `require’
config.ru:32:in `block in

’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize’
config.ru:1:in `new’
config.ru:1:in `

’
/usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `eval’
/usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `preload_app’
/usr/share/passenger/helper-scripts/rack-preloader.rb:156:in `module:App’
/usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `module:PhusionPassenger’
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `

’

So I tried ‘gem install autoprefixer-rails’ - but this didnt help. Maybe someone here has an idea what this could be? :-)


Replies (2)

RE: Nginx installation - error while trying to load the gem 'autoprefixer-rails' - Added by Oliver Jakobi over 9 years ago

Hi Alexander,

I had the same Problem just yesterday, but only found your post.
Now I got it fixed and thought I might leave some information for people experiencing the same problem..

This error is related to a missing javascript runtime.
Easiest way will be to install nodejs (“apt-get install nodejs” on ubuntu).

RE: Nginx installation - error while trying to load the gem 'autoprefixer-rails' - Added by Randy Bonnette over 5 years ago

Hello,

I had a similar situation with the Classroom setup inside a Docker container. When I ran script setup, I got a message that the gem autoprefixer-rails can't be loaded. I found out that I didn't have a Javascript runtime dependency. So nodejs fixed this for me.

https://community.openproject.com/topics/9699

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