I am trying to build a container rails app using Docker. In my Gemfile, execjs gem is already present. However, on running the server i get the below error
ExecJS:RuntimeUnavailable: Could not find a javascript runtime
Upon digging further, I found out adding gem therubyracer or mini_racer solves the issue. however, with that addition I get the below error.
Unable to load application: LoadError: Error relocating /usr/local/bundle/gems/therubyracer-0.12.3/lib/v8/init.so: __vfprintf_chk: symbol not found - /usr/local/bundle/gems/therubyracer-0.12.3/lib/v8/init.so
Please help