-
Notifications
You must be signed in to change notification settings - Fork 193
Conversation
Charles Lowell » therubyracer #54 FAILURE |
Charles Lowell » therubyracer #55 FAILURE |
Charles Lowell » therubyracer #56 FAILURE |
Checked out the right version of v8 (3.9.11)
Changes made in |
Charles Lowell » therubyracer #57 FAILURE |
Moved changes from |
Latest master + my patch gives segmentation fault |
Any more development on this? Windows support for ruby racer would be fantastic. |
Can one of the admins verify this patch? |
@stereobooster How do I use this? |
@stereobooster I did a gem install on the .gem file, and then I copied the lib_v8 DLLs and .a files to my ruby/bin
|
Let me tell you a story. Long, long time ago I started development using WAMP. Then I recognised what a big pile of useless unpleasant substance PHP was, and switch to ruby (still using windows). That was a time when I tried to implement that patch. Problem with rubyracer is only tip of iceberg of problems using ruby on windows. Later I switched to linux as my main OS. And as of now I'm using Mac OS. I do not have access to Windows machine, so I can not help you with that problem. If you still willing to fix this error, I would suggest you to give it what it wants, e.g. setup So long and thanks for all the fish |
Thanks for the response. I'm familiar with that story. I've been a Rails developer on windows for about 4 years now, so I understand the pain and I understand why you switched. My memory tells me that at some point in the past, on a different machine while developing a different app, I got rubyracer to work on windows (using your solution), but I can't remember how. I've thought about doing a virtual linux machine, or vagrant to make development and testing easier. What's kept me from embracing that is the awesome experience of RubyMine. If I could figure out a seamless way to set up a vagrant with RubyMine so I have the rubymine UI running on the windows host, but connected to the VM for debugging and testing, I'd make the switch. I haven't found a good HOWTO on that. There is also now an UbuntuOnWindows effort that may offer some hope down the road. Eg, run ruby linux binaries on windows without a VM.
Re fixing the bug, I'm down to try. Is your suggestion for use in compiling therubyracer (with the code from your pull request/branch)? init.so is actually present in the gem's directory. My guess is that it is actually finding the init.so, but something in init.so is looking for the DLLs (or .a files?) and maybe there is something sticky in the reference so it cannot find the DLLs (which are in ruby/bin and windows/system32). So maybe it's just something to do in recompiling. Im using Ruby 2.0x86 32 bit on Windows 10 64bit |
Hi @joshco, first of all, did you try installing the latest version of therubyracer? |
@stereobooster Yes, that was my first approach. It tried to build it with devkit and failed. |
Could you open up a new issue detailing the failure? If it's during the compilation of therubyracer, open it here, if it's in libv8, open it over at https://github.com/cowboyd/libv8 Thanks |
v8 compiled on windows with scons
therubyracer-0.11.0beta1-x86-mingw32.gem