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
95
votes
4 answers

Determine ruby version from within Rails

Is there a way to determine what version of Ruby is running from within Rails (either on the web or through script/console)? I have Ruby 1.8.6 installed but I've also installed Ruby Enterprise Edition 1.8.7-20090928 and want to ensure that it's…
Daniel Vandersluis
  • 91,582
  • 23
  • 169
  • 153
44
votes
8 answers

Can't install Ruby Enterprise Edition with RVM on OSX Lion

Here is what I have done so far. Clean install of OS X Lion Downloaded and installed latest version of Xcode from the App Store. Installed Git Installed Homebrew Installed RVM I am now trying to install Ruby Enterprise Edition for a project with…
Faraaz Khan
  • 701
  • 2
  • 8
  • 13
16
votes
4 answers

Pasting text into IRB is incredibly slow. Readline issue?

When I paste the following text into IRB or PRY running under ruby-enterprise-2011.03, it takes 13 seconds. # Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Pasting isn't…
John Douthat
  • 40,711
  • 10
  • 69
  • 66
11
votes
3 answers

Ruby Enterprise Edition vs Ruby 1.9

I'm planning to build a website that will be a simple CMS where users submit and view postings with videos, photos and text. One decision I want to make is choosing between Ruby Enterprise Edition and Ruby 1.9. Things I care about in…
Tam
  • 11,872
  • 19
  • 69
  • 119
8
votes
4 answers

Rails 3.1 and Ruby EE

Since Rails 3.1 strongly recommends that it be installed with Ruby 1.9.2. But what about Ruby Enterprise Edition support? Ruby EE seems to be in the 1.8.x version, so I guess this means that future rails updates won't be working so well with it?
matsko
  • 21,895
  • 21
  • 102
  • 144
7
votes
4 answers

Why does 6.times.map work in ruby 1.8.7 but not 1.8.6

The following code snippet works fine in 1.8.7 on Mac OS X, but not in 1.8.6 on Ubuntu. Why? Is there a workaround? Works in 1.8.7: $ ruby --version ruby 1.8.7 (2009-06-08 patchlevel 173) [universal-darwin10.0] ltredgate15:eegl leem$ irb >>…
Lee
  • 905
  • 2
  • 9
  • 19
6
votes
1 answer

Ruby Passenger: no such file to load bundler

I installed Phusion Passenger with Nginx, configured Nginx to point to the right directory, Then I ran webapp directory and this has downloaded the gemfiles, but it can't find the gems. When I visit the site I get the standard Passenger error page…
Tom
  • 33,626
  • 31
  • 85
  • 109
5
votes
1 answer

Where does Ruby memory config go and how can one check if it is set?

In REE, and MRI 1.9+, ruby's garbage collector can be…
John Bachir
  • 22,495
  • 29
  • 154
  • 227
4
votes
1 answer

Increased Memory Size after converting to Ruby Enterprise 1.8.7

When upgrading from Ruby 1.8.6 to Ruby Enterprise 1.8.7 p334, the memory size has nearly doubled. This has occurred in every one of the five Fedora 8 servers we upgraded. We run Rails 1.2.6 with Passenger 3.0.4. Munin gets the memory size for…
3
votes
1 answer

Ruby Enterprise Edition + OpenSSL -> "certificate verify failed"

I'm having a bit of a nightmare trying to get REE playing nicely with SSL. Whenever I connect to an SSL site: require 'open-uri' open 'https://www.google.com' I get the following…
Jonathan del Strother
  • 2,552
  • 19
  • 32
3
votes
2 answers

Generating RDoc fails with Directory .ext/rdoc already exists

I'm just installing Ruby Enterprise and cannot change the output directory for this crashing command called by Ruby Enterprise installer. So how do I delete the directory to satisfy this exception: Generating RDoc documentation ./miniruby -I./lib…
Murdoch
  • 630
  • 2
  • 8
  • 21
3
votes
3 answers

Ruby Digest::SHA512.hexdigest throws a segment fault and quits in Yosemite

We have an older REE rails app that I work on my local dev environment in OSX Yosemite. I recently switched from Mavericks, with which I had no problems. I ran this app for the first time on my new work mac and found I was unable to login due to it…
3
votes
1 answer

Ruby upgrade (from 1.8.7) on Rails 3.0.20 application causing time zone weirdness

I'm upgrading an big, old, clunky Rails application's Ruby (mostly so I don't have to re-install REE on my reformatted laptop) and I'm getting bitten pretty badly by timezone issues. Basically, pulling datetimes out of the database is not…
2
votes
1 answer

Ruby Enterprise Edition vs Ruby 1.9.2 memory improvements

I have a couple of rails applications running on VPS. As I have to pay extra for more ram I have been using REE. As rails is getting ready to deprecate 1.8.7 as of Rails 4.0 I'm starting to think about making the move to 1.9.2 (which would be nice…
Dave Smylie
  • 2,663
  • 3
  • 25
  • 32
2
votes
3 answers

Headless JavaScript testing in ree + cucumber

Is there a way to do headless javascript testing in ree (Ruby Enterprise Edition)? I've seen celerity/culerity/capybara, which work with jruby + HTMLUnit, but I can't seem to get it working with ree. When I simply try to annotate my cucumber test…
1
2 3 4