ruby-enterprise-edition

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 Organizations Using Rails or Ben Forta's Who's Using ColdFusion? list. There's some google g...

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 confirms this: /opt/ruby-enterprise-1.8.6-20090201/bin/gem However, when I install g...

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 users can post comments using AJAX doesn't work. My Comment model has a setter method for the ...

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. I mainly want to use MySQL. Here's the output of Ruby EE's ./installer during the mysql ge...

Passenger / REE can't find rails, it's in the $PATH, what gives?

I've got a fresh install of Ruby EE (1.8.6-20090610) and Passenger (2.2.5) on Debian Lenny. REE is installed in /opt/ruby-enterprise and it is added to the $PATH of all users through /etc/environment, and PassengerDefaultUser is set to root. The problem is when loading a rails app, the Passenger error says the rails 2.3.3 gem is missin...

Ruby Enterprise Edition vs Ruby 1.9

Hi, 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. Think I care about in order: 1- Performance & Scalability 2- Compatibility with existing gems/plugins/open source project...

Apache-httpd processes die with segmentation fault on deployment

Hi, 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 error: [notice] child pid NNNNN exit signal Segmentation fault(11) After a short p...

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 using the right installation. ...

Ruby 1.8.6 BigDecimal.to_f always returns '0,0' on Solaris

Hi, I have come across a very weird error. I'm on Solaris 10, using Ruby Enterprise Edition (ruby 1.8.6 (2008-08-08 patchlevel 286) [i386-solaris2.10]) with Rails 2.3.4. I have a very weird error. In irb: irb(main):001:0> require 'bigdecimal' => true irb(main):002:0> b = BigDecimal.new('123') => #<BigDecimal:834d0e8,'0.123E3',4(8)> ir...

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 development environment in any way compared to what the vanilla mongrel stack gives you ? ...

Weird problems with ruby servers on Ubuntu 9.10

So I'm using Ubuntu 9.10, trying to setup and deploy my app, but for some reason, whenever I try and boot up thin, it tells me it can't find rails, script/console, however, works fine. Heck, even script/server works fine as long as I don't try and daemonize it, then it just fails without any errors. Any ideas on what the hell is going on...

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 >> 6.times.map {'foo'} => ["foo", "foo", "foo", "foo", "foo", "foo"] >> But not in 1.8.6: # ruby...

nginx + phusion passenger + ree not returning 304 for html

I'm using nginx + passenger + ree to host my web app in a linode vps. The config i'm using is the following: user ***; worker_processes 4; events { worker_connections 1024; } http { passenger_root /opt/passenger-2.2.15; passenger_ruby /opt/ruby-enterprise-1.8.7-2010.02/bin/my_ruby.sh; passenger_max_pool_size 10; ...

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 beginners? This is the only result I found: http://stackoverflow.com/questions/1402010/ruby-enterpri...

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 following error: Exception PhusionPassenger::UnknownError in PhusionPassenger::Railz::Applicatio...

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 decided to downgrade to REE 1.8.6. However, now the application fails to start with a LoadEr...