Content
Problem installing
Added by Crivineanu Raul about 9 years ago
I’m trying to install openproject on Ubuntu with Apache on it and when executing command bundle exec rake db:create:all (or any other one which refers to installing) it returns:
openproject
blendcamp:~/openproject$ bundle exec rake db:create:all
require ‘rails/all’… 0.920s
Bundler.require… rake aborted!
ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See https://git hub.com/sstephenson/execjs for a list of available runtimes.
/home/openproject/.rvm/gems/ruby-2.1.4/gems/execjs-2.4.0/lib/execjs/runtimes.rb: 45:in `autodetect’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/execjs-2.4.0/lib/execjs.rb:5:in `’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/execjs-2.4.0/lib/execjs.rb:4:in `<to p (required)>’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/activesupport-4.1.13/lib/active_supp ort/dependencies.rb:247:in `require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/activesupport-4.1.13/lib/active_supp ort/dependencies.rb:247:in `block in require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/activesupport-4.1.13/lib/active_supp ort/dependencies.rb:232:in `load_dependency’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/activesupport-4.1.13/lib/active_supp ort/dependencies.rb:247:in `require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/autoprefixer-rails-5.1.11/lib/autopr efixer-rails/processor.rb:2:in `<top (required)>’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/autoprefixer-rails-5.1.11/lib/autopr efixer-rails.rb:29:in `require_relative’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/autoprefixer-rails-5.1.11/lib/autopr efixer-rails.rb:29:in `<top (required)>’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler/runtime.r b:76:in `require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler/runtime.r b:76:in `block (2 levels) in require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler/runtime.r b:72:in `each’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler/runtime.r b:72:in `block in require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler/runtime.r b:61:in `each’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler/runtime.r b:61:in `require’
/home/openproject/.rvm/gems/ruby-2.1.4/gems/bundler-1.10.6/lib/bundler.rb:134:in `require’
/home/openproject/openproject/config/application.rb:69:in `block in <top (requir ed)>’
/home/openproject/openproject/config/application.rb:43:in `block in bench’
/home/openproject/openproject/config/application.rb:42:in `bench’
/home/openproject/openproject/config/application.rb:68: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.4/bin/ruby_executable_hooks:15:in `eval’
/home/openproject/.rvm/gems/ruby-2.1.4/bin/ruby_executable_hooks:15:in `
’
(See full trace by running task with —trace)
@
I must say that I’ve edited configuration.yml and left there my DB details. What should be the problem?
Replies (1)
Hi Crivineanu Raul,
Check this out:
https://community.openproject.org/topics/4720
http://stackoverflow.com/questions/8059332/could-not-find-a-javascript-runtime-see-https-github-com-sstephenson-execjs-f
It may help. I think I had the same problem.
Cheers
Luis