Questions tagged [rubinius]

Rubinius is an implementation of the Ruby programming language using LLVM.

Rubinius is an implementation of the Ruby programming language.The Rubinius bytecode virtual machine is written in C++, incorporating LLVM to compile bytecode to machine code at runtime. The bytecode compiler and vast majority of the core classes are written in pure Ruby

76 questions
1
vote
2 answers

Is there an equivalent of isitruby19 for rubinius?

Is there a web site that indicates which gems work on rubinius (or other implementations of ruby), like isitruby19.com indicates which gems work on ruby 1.9? (I'm curious about heckle working with rubinius in particular)
Andrew Grimm
  • 78,473
  • 57
  • 200
  • 338
1
vote
1 answer

Dying Actors in Rubinius or are threads/processes sandboxed?

I am looking into Rubinius (2.0+) and its actors library for parallel computing challenges. I am wondering what would happen if an actor for example eats up loads and loads of memory up to the point where it throws a OutOfMemoryException. Does only…
robkuz
  • 9,488
  • 5
  • 29
  • 50
1
vote
1 answer

Rbenv cannot install rubinius

I'm trying to install rubinius via rbenv and this error came out. I'm not sure what's wrong here. Here is the (successful) result of installing jruby: [app@onepiece-web02 log]$ rbenv install jruby-1.7.25 Downloading jruby-bin-1.7.25.tar.gz... ->…
Cụt Cánh
  • 375
  • 2
  • 10
1
vote
0 answers

Rails on Rubinius compiles assets very slowly

I'm trying to create a new Rails project using Rubinius (rbx-2.5.8) but it takes a while to compile stylesheet assets: More than 45 seconds after each change in some SCSS file... I didn't tested JS yet Switching back to MRI (ruby-2.2.0) solves the…
Hassen
  • 6,966
  • 13
  • 45
  • 65
1
vote
1 answer

Which has better garbage collection, MRI 2.2 or Rubinius 2.5.3

MRI 2.2 has had some big improvements with GC since 2.1, namely incremental GC and now it garbage collects symbols. One fellow fixed his memory leak simply by upgrading MRI, see this blog post We switched to Rubinius a while back, and one reason…
ryan2johnson9
  • 724
  • 6
  • 21
1
vote
0 answers

How do I declare a source file's encoding in Rubinius?

In MRI and JRuby I can do this: # encoding: utf-8 This doesn't seem to work in rubinius.
John Bachir
  • 22,495
  • 29
  • 154
  • 227
1
vote
1 answer

Rubinius in RubySL

I use Ruby from a user level and really don't deal with the internals. I have know Rubinius as 'Ruby in Ruby' which I assumed was a generalization. Recently, I got an error with Rubinius in the RubySL (no, I don't have error msg). I started looking…
timpone
  • 19,235
  • 36
  • 121
  • 211
1
vote
2 answers

Rbenv fails when installing rubinius 2.5.2

Rbenv with ruby-build fails when installing rbx-2.5.2. System: Lubuntu 14.10 Full log can be found at https://gist.github.com/sgoblin/89034c14e8426f400b68 Output of command: Downloading rubinius-2.5.2.tar.bz2... ->…
sgoblin
  • 167
  • 8
1
vote
2 answers

Why can't bundle find gems in production after `bundle --deployment`?

Here's a summary of my issue: I stood up a new server I install Rubinius and some other stuff as documented here. I deployed. The site was up for several deploys. At some point, I had a problem and started trying random solutions. I ran into a…
MustModify
  • 657
  • 10
  • 20
1
vote
2 answers

Separated threads according to URL path

I'm using Puma and Nginx to run my Rubinius app. I would like to separate my URL requests. The first one would be for API requests, the second one for other requests. I think Puma already makes threading but I want to be sure that web requests won't…
brcebn
  • 1,571
  • 1
  • 23
  • 46
1
vote
1 answer

Unable to install rbx using rvm on OSX Maverics

I am getting the below link error while installing rbx-2.2.6 using rvm on OSx Mavrics. I installed llvm using homebrew. Can any one please help me out with this? Undefined symbols for architecture x86_64: …
Kiran Raj
  • 187
  • 1
  • 9
1
vote
1 answer

Can I generate LLVM bytecode with Rubinius and run it with lli?

I've tried running rbx compile but I am not quite sure what to do with the output. I would like to run it with lli, but I get the following error. $ lli hello.rbc lli: hello.rbc:2:1: error: expected '=' here 18185007515559028006 ^
Jordan Scales
  • 2,687
  • 4
  • 28
  • 37
1
vote
1 answer

What is causing this error while installing rubinius under rvm?

I seem to be unable to install the latest rubinius under rvm (rvm seems to work fine and other rubies can be installed without problems). The error logs are as follows: rbx-2.2.9 - #compiling - please wait Error running…
Mike H-R
  • 7,726
  • 5
  • 43
  • 65
1
vote
2 answers

Rubinius + Padrino on production?

Is any one running padrino on Rubinius + Puma in production? If yes then how stable is it? Is it better than MRI + Thin? I am thinking of giving it a try but bit worried about its stability.
Kiran Raj
  • 187
  • 1
  • 9
1
vote
0 answers

Ubuntu install rubinius 2.0

I want to try out the new release of rubinius on my Ubuntu 12.04 machine with rvm, After I run rvm install rbx I get the following rbx-2.0.0 - #install bundler.. Error running 'gem install bundle', The log says You don't have write permissions…
Calin
  • 6,661
  • 7
  • 49
  • 80