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
Rubinius installation fails #3052
Comments
😦 are you able to build from a clone? |
Nope. I just tried & got the same result: Rubinius Crash Report #rbxcrashreport
Error: signal SIGABRT
[[Backtrace]]
0 rbx 0x0000000108b68b5c _ZN8rubiniusL12segv_handlerEi + 412
1 libsystem_platform.dylib 0x00007fff91b1c5aa _sigtramp + 26
2 ??? 0x00007fff5717f770 0x0 + 140734654576496
3 rbx 0x0000000109349eb6 abort + 22
4 rbx 0x0000000108aac4e5 _ZN8rubinius3bugEPKc + 69
5 rbx 0x0000000108aa9c48 _ZN8rubinius11Environment19run_from_filesystemEv + 1240
6 rbx 0x0000000108c108dc main + 236
7 libdyld.dylib 0x00007fff932c05fd start + 1
[[System Info]]
sysname: Darwin
nodename: Genetrix.local
release: 13.2.0
version: Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64
machine: x86_64
|
OK, thanks, just wanted to check. |
Is this on Mavericks? What compiler are you using, gcc or clang? If you're using gcc, could you give clang a try? You can specify this when building from source by running |
Yes, it's on Mavericks. My original attempts were using gcc. I tried with clang as suggested and it still crashes: https://gist.github.com/c9de379ad1b7465b2933 The last few lines before that are: [BUG: Unable to find loader]
2 rbx 0x0000000107f1b8e0 rubinius::bug(char const*) + 64
3 rbx 0x0000000107f19048 rubinius::Environment::run_from_filesystem() + 1240
4 rbx 0x000000010807fcdc main + 236
5 libdyld.dylib 0x00007fff932c05fd start + 1
|
@vonvo-carlo Ah, those lines are like the most critical information here 😄. Somehow it seems to be in a weird state where it can't find any of the compiled Ruby files to load. Can you write down the exact steps that you've done here so we can try and reproduce the problem? So cloning the repo, running bundler, configure etc. |
Sure, I just followed the instructions in the README to the letter: To install Rubinius, use the following steps:
1. Ensure that MRI 2.0+, rubygems, rake, and git are installed
2. git clone git://github.com/rubinius/rubinius.git
3. cd rubinius
4. bundle
5. ./configure --prefix=/path/to/install/dir
6. rake
It fails at step 6. |
Well, this is awkward... I figured out what's going on. I had rbx-2.2.1 set as my global default instead of MRI Ruby. Doh! I switched it to MRI (as stated in the README!) and everything works perfectly. |
Did you happen to try and install Rbx in the same directory as rbx-2.2.1 was installed? I believe that starting with 2.2.5 (or something like that) Rbx is supposed to be able to compile/install itself. |
No, I installed it to its own directory. |
https://gist.github.com/10d34026928ecfc5368e
The text was updated successfully, but these errors were encountered: