plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Step 4: Installation: issue with libv8

Open Codeama opened this issue 8 years ago • 11 comments

Please describe the problem (or idea)

What happened just before the problem occurred? Or what problem could this idea solve?

When I run this command: bundle install --without production mysql

I get this error message:

An error occurred while installing libv8 (3.16.14.19), and Bundler cannot continue. Make sure that gem install libv8 -v '3.16.14.19' --source 'https://rubygems.org/' succeeds before bundling.

What did you expect to see that you didn't?

Please show us where to look

The installation guide on README

What's your PublicLab.org username?

This can help us diagnose the issue:

Browser, version, and operating system

Many bugs are related to these -- please help us track it down and reproduce what you're seeing!

I use Windows 10


Thank you!

Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.

To learn how to write really great issues, which increases the chances they'll be resolved, see:

https://publiclab.org/wiki/developers#Contributing+for+non-coders

Codeama avatar Oct 09 '18 20:10 Codeama

Thanks for opening your first issue here! Please follow the issue template to help us help you 👍🎉😄 If you have screenshots to share demonstrating the issue, that's really helpful! 📸 You can make a gif too!

welcome[bot] avatar Oct 09 '18 20:10 welcome[bot]

Hi Codeama,

I'm unsure of the solution, but I did a search for your issue and found the following StackOverflow page: https://stackoverflow.com/questions/19673714/error-installing-libv8-error-failed-to-build-gem-native-extension/19674065

Someone's github issue with a similar problem and what they did to solve it: https://github.com/huginn/huginn/issues/1597

Or you can view the RubyGems page for libv8 here: https://rubygems.org/gems/libv8/versions/4.5.95.5

Perhaps there is something in one of those places that will help you solve your problem?

quinn-codes-synthesis avatar Oct 10 '18 07:10 quinn-codes-synthesis

Thanks for your reply, quinn-codes-synthesis.

I've tried 1 and 3 but I'll give 2 a go and see if it works.

Codeama avatar Oct 10 '18 13:10 Codeama

Did you have any luck? Just wanted to follow up since I saw no one else had yet. :) I had several errors while in the process of getting everything set up (soooo many errors, augh), but this wasn't one of them so I'm super curious to learn what we may have done differently!

@publiclab/solvers will probably have some suggestions if you're still stuck!

quinn-codes-synthesis avatar Oct 11 '18 11:10 quinn-codes-synthesis

Hmm, I have seen this happen more often recently but don't totally understand the cause (and perhaps there are multiple)

Here are some previous people who seem to have gotten past it:

https://github.com/publiclab/plots2/search?q=libv8&type=Issues

May be worth asking them or looking through whether they noted how they got past it.

Thanks for opening an issue! I hope we can provide some more guidance on this sort of thing if we can figure it out. I'm sorry youre having trouble!!

jywarren avatar Oct 11 '18 12:10 jywarren

Oh no! Didn't mean to close this issue. My fingers were too fast :D

Codeama avatar Oct 12 '18 10:10 Codeama

Hi Quinn and Jeffrey, I'm sadly still stuck on it. :( It appears when I solve one, a different problem crops up e.g. rubyracer not being installed properly. So I'm starting to suspect that it just might be a Windows issue :/

I'll try the installation again on a Linux system and see what happens. I'll report back here if I get any success with Linux.

Codeama avatar Oct 12 '18 10:10 Codeama

Yeah, try that. I was having issues with Windows as well -- it wouldn't play nice with Ruby. I was reading somewhere that Windows is, historically, not as dev-friendly as other OSes so maybe that has something to do with it?

Have you worked with Linux before? I'm brand new to it -- but that means the information is still fresh in my brain. Let me know if you hit another roadblock! I followed instructions located at The Odin Project to get Xubuntu running on a virtual machine, and it was (relatively) straightforward from there.

quinn-codes-synthesis avatar Oct 12 '18 10:10 quinn-codes-synthesis

No I'm new to Linux too and only installed it on an old PC yesterday. Glad to know there's help when I need it.

Codeama avatar Oct 12 '18 12:10 Codeama

Yayy! Success! It worked on a Linux system. So my conclusion is that the problem is Windows related. Thank you all for your input. Closing this now.

Codeama avatar Oct 13 '18 19:10 Codeama

Great, and excellent to see you checked in with the solution. I hope this helps other folks too! Thanks!!!

On Sun, Oct 14, 2018, 3:36 AM Bukola [email protected] wrote:

Closed #3665 https://github.com/publiclab/plots2/issues/3665.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/3665#event-1902301970, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJ4T-fF3ukuxzp_mGt0suvYf33pIeks5ukkCbgaJpZM4XUHo- .

jywarren avatar Oct 13 '18 22:10 jywarren