Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

miniracer raise when deploying using heroku #1510

Open
hsonthach opened this issue Dec 4, 2021 · 1 comment
Open

miniracer raise when deploying using heroku #1510

hsonthach opened this issue Dec 4, 2021 · 1 comment

Comments

@hsonthach
Copy link

Step 1: Are you in the right place?

  • For general technical questions, post a question on StackOverflow tagged with errbit.

Step 2: Describe your environment

  • Errbit version: master, right now the latest commit is e00a3ba
  • OS: heroku stack

Step 3: Describe the problem:

I do everything like the the heroku deployment doc, with a minimal change ( use ruby 2.5.8 instead of 2.5.1 as the tutorial since Heroku force us to use the latest version), then I get the following error while bundle install

An error occurred while installing libv8 (8.4.255.0), and Bundler cannot
       continue.
       Make sure that `gem install libv8 -v '8.4.255.0' --source
       'https://rubygems.org/'` succeeds before bundling.
       
       In Gemfile:
         mini_racer was resolved to 0.3.1, which depends on
           libv8
 !
 !     Failed to install gems via Bundler.
 !
 !     Push rejected, failed to compile Ruby app.
 !     Push failed

Steps to reproduce:

  1. Do everything like tutorial
  2. Use version 2.5.8

Expected Results:

  • bundle install should not raise any error
@hsonthach hsonthach changed the title miniracer error when deploying using heroku miniracer raise when deploying using heroku Dec 4, 2021
@2called-chaos
Copy link
Member

2called-chaos commented Dec 9, 2021

Hey there, Errbit has some unresolved issues with libv8 and Heroku in combination with current Bundler. This is probably related to #1494

I googled again as this must be a common issue and I found this note about therubyracer so my conclusion is... just don't have mini_racer on Heroku?

I have no idea about Heroku and can't try it (because I'm a german potato with no credit card to verify) but maybe you or someone else can give it a try.

Just be aware that Errbit currently won't run on Ruby 2.7 (until #1508 is resolved) but it should run just fine on 2.6 (or 2.5 for that matter)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants