Skip to content

therubyracer and libv8 error on Ubuntu and Macos #440

Description

@senolatac

Here is the project and github-action: https://github.com/senolatac/cuttlefish-email-sender/actions

And examined and tried to fixed with previous suggestions: Cannot install therubyracer on Ubuntu 20.04 but no chance yet. Or another one: libv8 required python 2 to be installed in order to build - Windows

Error says:

/usr/local/bundle/gems/libv8-3.16.14.19/ext/libv8/builder.rb:86:in
`setup_python!': libv8 requires python 2 to be installed in order to build, but
it is currently not available (RuntimeError)...

When I add this line: gem install libv8 -v '3.16.14.1' -- --with-system-v8 it gives error on therubyracer. When I try to add this line gem install therubyracer -v '0.12.3' -- --with-system-v8 it couldn't find v8.

Any suggestion?

BTW: it works on Windows but not on Ubuntu and MacOS

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions