Questions tagged [ruby-enterprise-edition]

Ruby Enterprise Edition (commonly REE) is a server-oriented friendly branch of Ruby, with improved memory allocator, garbage collector and some more.

Ruby Enterprise Edition is a server-oriented distribution of Ruby which includes various enhancements:

  • A copy-on-write friendly garbage collector.
  • An improved memory allocator called tcmalloc, which improves performance quite a bit.
  • The ability to tweak garbage collector settings for maximum server performance, and the ability to inspect the garbage collector's state.
  • The ability to dump stack traces for all running threads, making it easier for one to debug multithreaded Ruby web applications.

Related tag

53 questions
1
vote
2 answers

Is there a good resource for data on Ruby Enterprise Edition usage in the wild?

We're having great results with the Phusion stack (Passenger and Ruby Enterprise Edition) in house, but I haven't been able to find much in the way of data on their use in the wild, particularly REE. I'd love something akin to WWR's High Profile…
Abie
  • 10,855
  • 6
  • 32
  • 39
1
vote
3 answers

Rails/Passenger: no such file to load -- money (MissingSourceFile)

I am attempting to deploy a Rails application (which works fine in development) onto a production server. I have installed and configured Apache, Passenger, and the necessary gems. After I restart apache and navigate to the server, I get the…
jrdioko
  • 32,230
  • 28
  • 81
  • 120
1
vote
2 answers

Ruby EE ./installer fails on mysql gem installation

So, installing Ruby Enterprise Edition went fairly smoothly (except for a very odd quirk of the system I'm on, where I had to apt-get install build-essentials because there was no GCC...), but it failed to install any of the database gems properly.…
Twisol
  • 2,762
  • 1
  • 17
  • 17
1
vote
1 answer

Weird Ruby Enterprise Edition Problem

I just installed Ruby Enterprise Edition and Passenger on an Ubuntu Hardy 8.04 VPS. As far as I'm aware, the installation was successful. My Rails application is accessible and on the whole, works fine. However, the part of my application where…
John Topley
  • 113,588
  • 46
  • 195
  • 237
1
vote
1 answer

Passing a splat and hash to a method?

Solution While on 1.8, i couldnt use the accepted answer directly, but it helped me find the below: def stylesheet_include(*sources) if /^3\.[1-2]/ =~ Rails.version && sources.last.is_a?(Hash) sources.last.delete :cache end …
agmcleod
  • 13,321
  • 13
  • 57
  • 96
1
vote
1 answer

Ruby 1.8.7 each_with_index index offset

How can i specify which index to start from when using each_with_index on a collection in ruby 1.8.7? collection.each_with_index do |element, index = 1| #do smth end Using it like this gives the following error: syntax error, unexpected '=',…
roman
  • 5,100
  • 14
  • 44
  • 77
0
votes
3 answers

Hash merging behavior

Is this behavior correct? I'm running some code like the following: @a_hash = {:a => 1} x = @a_hash x.merge!({:b => 2}) At the end of all that, x's value has been changed as expected but so has the value for @a_hash. I'm getting {:a => 1, :b => 2}…
blim8183
  • 768
  • 1
  • 8
  • 23
0
votes
1 answer

rvm install ree complaining about readline on Ubuntu

I'm trying to install ree-1.8.7 on Ubuntu 11.10, but I get the following: $ rvm install ree-1.8.7 $ ... $ ERROR: Error running './installer -a $HOME/.rvm/rubies/ree-1.8.7-2011.03 --dont-install-useful-gems -c --with-readline-dir=$HOME/.rvm/usr',…
mbillard
  • 38,386
  • 18
  • 74
  • 98
0
votes
1 answer

nginx restart issues

ive a peculiar consistent problem in production. im running rails3 + nginx with latest datamapper and ruby-enterprise Everytime a deploy a new version (touch restart.txt) i get a bunch of errors (happen during different requests) just after the…
0
votes
3 answers

Why is MRI the mainstream Ruby interpreter, while it performs the worst?

Having seen this interpreter comparison graph, I wondered the reasons behind the MRI's mainstream usage, although it performs the worst. Why aren't Kiji or Ruby Enterprise Edition used more frequently; lack of gem support or something else? For…
Özgür
  • 8,077
  • 2
  • 68
  • 66
0
votes
2 answers

Ruby Enterprise Edition giving Time.now in wrong format

On my VPS (Ubuntu 10.04LTS), I have ree-1.8.7-2011.03 and ruby-1.9.2-p180 installed through RVM. My problem is that when I call Time.now in ree-1.8.7(irb), I get Thu May 12 12:16:50 +0200 2011, when I do the same in ruby-1.9.2(irb), I get…
0
votes
2 answers

REE rake gems:install is not working correct

I've installed REE on CentOS 5 for a very special task (using rails 2.3.10 and ruby 1.8) and I really need it to be isolated In this case I won't use bundler or smth so. Everything works ok if I'll setup every gem manually via /opt/ree/bin/gem…
Wile E.
  • 1,213
  • 1
  • 12
  • 26
0
votes
1 answer

Can't get server running in Rails 2.3.18

I've inherited a pretty old Rails app (running v2.3.18 on Ruby Enterprise 1.8.7) and I'm trying to get it up and running locally. After installing the gems and performing migrations I'm trying to startup the server with rails server as I'm used to,…
Jody Heavener
  • 2,704
  • 5
  • 41
  • 70
0
votes
3 answers

RMagick broken on Ubuntu 10.04 after upgrading from 8.04

I recently upgraded a server from Ubuntu 8.04 to 10.04, and it seems to have broken RMagick, with this error: libWand.so.10: cannot open shared object file: No such file or directory -…
hoff2
  • 774
  • 3
  • 9
  • 25
0
votes
1 answer

Ruby 1.8.7 vs Ruby enterprise

From what I understand REE is better in terms of garbage collection and much faster when combined with Passenger. Are there any downfalls of using REE as opposed to Ruby 1.8.7? Random bugs on REE? Compatibility errors? Not advisable for…
sent-hil
  • 18,635
  • 16
  • 56
  • 74