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
2
votes
1 answer

Gitorious Git-daemon Ruby Gem Error

I'm installing gitorious on my webserver. Everything works fine except git-deamon, I get the following error when I run it /etc/init.d/git-daemon start Starting git-daemon:…
dextervip
  • 4,999
  • 16
  • 65
  • 93
2
votes
5 answers

Using Ruby Enterprise Edition, gems are not installed where I would expect

I have just installed Ruby Enterprise Edition and am installing some gems for it. Stock Ruby 1.8.6 is also installed on the server. I have added /opt/ruby-enterprise-1.8.6-20090201/bin to my PATH a head of /usr/bin where ruby and gem live. which gem…
Luke Francl
  • 31,028
  • 18
  • 69
  • 91
2
votes
1 answer

no such file to load -- rails/cli under Ruby Enterprise Edition 1.8.7

On a VPS I tried to install Ruby. Because of memory exhaustion problems, we were unable to compile ruby 1.9.2 , and we decided to give Ruby Enterprise Edition a try. This compiled without complaining about memory problems. Next, we install rubygems,…
Geo
  • 93,257
  • 117
  • 344
  • 520
2
votes
3 answers

New installation of Ruby Enterprise Edition - "gem" recognised but "sudo gem" isn't

I've just installed Ruby Enterprise Edition on a fresh Ubuntu 10.04 server. I went to install my first gem, and hit a weird problem I never saw before. Without sudoing, if I just type 'gem' I get the blurb about gem. I can switch to root and do…
Max Williams
  • 32,435
  • 31
  • 130
  • 197
2
votes
1 answer

RoR: From Ruby to Enterprise Ruby Edition (no memory savings?)

I have just tried to switch to Ruby Enterprise Edition, as described here: http://www.rubyenterpriseedition.com/download.html (case: Ubuntu). REE promises about 30% memory savings, but in my case, I still have 3 ruby instances around 100MB each -…
2
votes
2 answers

Rails/Passenger: no such file to load -- bundler

I have an application running an old version of Rails (2.2.2) and Passenger that I got up and running using Ruby Enterprise Edition 1.8.7. However, I soon found there were some incompatibilities between older versions of Rails and Ruby 1.8.7, and…
jrdioko
  • 32,230
  • 28
  • 81
  • 120
2
votes
2 answers

nginx install on ubuntu

Im trying to install nginx on a ubuntu machine. ubuntu - 12.04 precise kernel - 3.2.0 gcc - 4.6.3 sudo apt-get install gcc automake autoconf libssl-dev libreadline-dev compile nginx gives the following error: gcc -c -pipe -O -W -Wall…
Srinivas
  • 432
  • 5
  • 22
2
votes
2 answers

Advantages of running a production-oriented stack during development?

Lately I seem to have noticed a trend amongst some RoR developers, that is using RubyEE/Passenger/Apache type setups during their development process. Besides the obvious "use what your clients use" idea, do these technologies enhance the…
2
votes
1 answer

How to install json gem - Failed to build gem native extension

I'm trying to deploy a rails app to my ubuntu linux server. I'm using capistrano and bundler and when it gets to installing gems it fails with this error: Installing json (1.7.7) with native extensions Gem::Installer::ExtensionBuildError: ERROR:…
2
votes
1 answer

Apache-httpd processes die with segmentation fault on deployment

I'm running Rails 2.3.3 application which is deployed with passenger/mod_rails with ruby-enterprise-1.8.6-20090610 and apache httpd. The problem is that whenever I deploy our application, hundreds of httpd processes start dying. I'm getting this…
Stan Bright
  • 1,355
  • 1
  • 15
  • 22
1
vote
1 answer

How should I upgrade an old version of Ruby Enterprise Edition?

We have a legacy system running a version of REE that is almost 3 years old. The version we're using has some issues that have been patched in later versions, so it would be nice if we could upgrade to a newer version. This is the upgrade…
phaedryx
  • 2,024
  • 3
  • 16
  • 24
1
vote
0 answers

How do I fix the DoS String#hash vulnerability for ruby-enterprise-1.8.7-2009.10?

The problem is described here. There have been patches for 1.8, JRuby and later version of ree, but I can't find anything for this version. I tried applying this patch. But compiling fails with an error that doesn't make sense since there are no…
Brian
  • 4,931
  • 3
  • 32
  • 55
1
vote
2 answers

Why is REE faster than 1.9.3 at executing RSpec?

I've always thought that 1.9.x was supposed to be faster than REE, but consuming more memory. But as it was recently pointed out to me, REE is actually faster than executing RSpec specs, and by a huge margin. $ rvm use ree $ rvm gemset create…
Jakub Arnold
  • 85,596
  • 89
  • 230
  • 327
1
vote
0 answers

Asset compilation taking a lot of time - around 10-15 mins

I don't know it's just me, or everybody is facing same kinda issue. I am trying to precompile assets on server with this command - bundle exec rake assets:precompile RAILS_ENV=production but it takes about 10mins to compile all assets. The project…
1
vote
1 answer

ruby enterprise and Rails<3 app

i'm trying to run Redmine using rubyEE, but I am constantly facing some action_controller problems. When I'm running unicorn, I get: /opt/rubyEE-2010-02/lib/ruby/site_ruby/1.8/rubygems.rb:223:in `activate': undefined method `map' for nil:NilClass…
rantoniuk
  • 1,083
  • 12
  • 18