Zabba
Zabba

Reputation: 65517

WEBrick alterative for Rails 2.3.8?

I'm a Rails newbie, and I was initially using NetBeans + JRuby to make Rails apps (was using JRuby because it was a quick start - I don't need to interface with any Java libs).

Then because of (a) many gems are not available for JRuby, and (b) most of the Rails webshosts don't support JRuby, I decided to use Ruby MRI.

So I got everything installed and it was working OK. But now, after every 4/5 refreshes of a webpage, WEBrick crashes with a SEGFAULT. (Nothing like this happened when I was using JRuby).

So, I went about looking for an alternative, and tried thin. Some errors which this question helped partly resolve. Now on thin start I get an error No adapter found for C:/Ruby192/bin.

Any advice on how to get started developing again with (any) simple (stable) web server is highly appreciated.

Ps. I'm using Windows 7 x64, if that helps.

Upvotes: 0

Views: 870

Answers (3)

Zabba
Zabba

Reputation: 65517

Ended up going with thin under Ruby 1.8.7p0

Upvotes: 0

hurikhan77
hurikhan77

Reputation: 5930

Try mongrel for development. But I suggest to go the passenger way in production. The alternative would be a mongrel cluster. Just install the mongrel gem, Rails will automatically use that then when firing up the server.

Upvotes: 0

Simone Carletti
Simone Carletti

Reputation: 176562

Use Passenger lite.

$ gem install passenger
$ cd /path/to/rails
$ passenger start

The first time you run start, it will download, compile and install the server.

Upvotes: 1

Related Questions