[openstreetmap-website] Rails configuration (#593)

Roland Olbricht notifications at github.com
Mon Dec 2 17:52:56 UTC 2013


When trying to run "rails server", it refuses to start with the error message:

/var/lib/gems/1.9.1/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
        from /var/lib/gems/1.9.1/gems/execjs-2.0.2/lib/execjs.rb:5:in `<module:ExecJS>'
        from /var/lib/gems/1.9.1/gems/execjs-2.0.2/lib/execjs.rb:4:in `<top (required)>'
        from /var/lib/gems/1.9.1/gems/uglifier-2.3.1/lib/uglifier.rb:3:in `require'
        from /var/lib/gems/1.9.1/gems/uglifier-2.3.1/lib/uglifier.rb:3:in `<top (required)>'
        from /var/lib/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in `require'
        from /var/lib/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
        from /var/lib/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `each'
        from /var/lib/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `block in require'
        from /var/lib/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `each'
        from /var/lib/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `require'
        from /var/lib/gems/1.9.1/gems/bundler-1.3.5/lib/bundler.rb:132:in `require'
        from /home/roland/osm/openstreetmap-website/config/application.rb:17:in `<top (required)>'
        from /var/lib/gems/1.9.1/gems/railties-4.0.1/lib/rails/commands.rb:74:in `require'
        from /var/lib/gems/1.9.1/gems/railties-4.0.1/lib/rails/commands.rb:74:in `block in <top (required)>'
        from /var/lib/gems/1.9.1/gems/railties-4.0.1/lib/rails/commands.rb:71:in `tap'
        from /var/lib/gems/1.9.1/gems/railties-4.0.1/lib/rails/commands.rb:71:in `<top (required)>'
        from script/rails:6:in `require'
        from script/rails:6:in `<main>'

Probably a dependency must be adjusted.


---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/593
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20131202/119bd2cf/attachment.html>


More information about the rails-dev mailing list