Re: [Mongrel] cannot load such file -- 1.9/http11

2012-11-02 Thread Luis Lavena
On Fri, Nov 2, 2012 at 5:21 PM, Roelof Wobben rwob...@hotmail.com wrote:
 Hello,

 I have installed the mongrel 1.2.0-pre2 gem into my project.
 But when I do rake db:test:prepare I see this output :


http://yourbugreportneedsmore.info/

You don't say what version of Ruby, Rails and OS are you using.

 cannot load such file -- 1.9/http11

 Anyone a idea how to solve this ?


While mongrel might work under Ruby 1.9, I'm not sure it will properly
work due the changes in threads. Not to mention newer versions of
Rails.

I personally you move a rack-based web server, like Puma:

http://puma.io/

Which uses the same parser from Mongrel and follows a similar philosofy.

Cheers,
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users


Re: [Mongrel] cannot load such file -- 1.9/http11

2012-11-02 Thread Roelof Wobben



 From: luislav...@gmail.com
 Date: Fri, 2 Nov 2012 17:32:54 -0300
 To: mongrel-users@rubyforge.org
 Subject: Re: [Mongrel] cannot load such file -- 1.9/http11
 
 On Fri, Nov 2, 2012 at 5:21 PM, Roelof Wobben rwob...@hotmail.com wrote:
  Hello,
 
  I have installed the mongrel 1.2.0-pre2 gem into my project.
  But when I do rake db:test:prepare I see this output :
 
 
 http://yourbugreportneedsmore.info/
 
 You don't say what version of Ruby, Rails and OS are you using.

I'm using on a Fedora Linux machine:

Ruby version : Ruby 1.9.3p286
Rails :  Rails 3.2.8 

 
  cannot load such file -- 1.9/http11
 
  Anyone a idea how to solve this ?
 
 
 While mongrel might work under Ruby 1.9, I'm not sure it will properly
 work due the changes in threads. Not to mention newer versions of
 Rails.
 
 I personally you move a rack-based web server, like Puma:
 
 http://puma.io/
 
 Which uses the same parser from Mongrel and follows a similar philosofy.

I will look into this. I'm using mongrel to test a website I make with ruby on 
Rails.
So it must can work with localhost instead of a real url.

Roelof

  ___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] cannot load such file -- 1.9/http11

2012-11-02 Thread Roelof Wobben



 From: luislav...@gmail.com
 Date: Fri, 2 Nov 2012 17:32:54 -0300
 To: mongrel-users@rubyforge.org
 Subject: Re: [Mongrel] cannot load such file -- 1.9/http11
 
 On Fri, Nov 2, 2012 at 5:21 PM, Roelof Wobben rwob...@hotmail.com wrote:
  Hello,
 
  I have installed the mongrel 1.2.0-pre2 gem into my project.
  But when I do rake db:test:prepare I see this output :
 
 
 http://yourbugreportneedsmore.info/
 
 You don't say what version of Ruby, Rails and OS are you using.
 
  cannot load such file -- 1.9/http11
 
  Anyone a idea how to solve this ?
 
 
 While mongrel might work under Ruby 1.9, I'm not sure it will properly
 work due the changes in threads. Not to mention newer versions of
 Rails.
 
 I personally you move a rack-based web server, like Puma:
 
 http://puma.io/
 
 Which uses the same parser from Mongrel and follows a similar philosofy.

One question : can Puma work together with Cucumber ?

Roelof

  ___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] cannot load such file -- 1.9/http11

2012-11-02 Thread Luis Lavena
On Fri, Nov 2, 2012 at 5:56 PM, Roelof Wobben rwob...@hotmail.com wrote:

 One question : can Puma work together with Cucumber ?


The two are completely unrelated. One is a web server while the other
is a testing/acceptance framework.

I presume you want to test with cucumber your application, right?

Cucumber will use Rack to connect to your application and test your
controllers/stuff.
(search the web if you don't know what is it)
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users


Re: [Mongrel] cannot load such file -- 1.9/http11

2012-11-02 Thread Roelof Wobben


  From: luislav...@gmail.com
 Date: Fri, 2 Nov 2012 17:56:13 -0300
 To: mongrel-users@rubyforge.org
 Subject: Re: [Mongrel] cannot load such file -- 1.9/http11
 
 On Fri, Nov 2, 2012 at 5:50 PM, Roelof Wobben rwob...@hotmail.com wrote:
 
 
  I'm using on a Fedora Linux machine:
 
  Ruby version : Ruby 1.9.3p286
  Rails :  Rails 3.2.8
 
 
 I will recommend you use puma.io then. Rails 3 is not properly
 supported by Mongrel.
  Oke, I will change that tommorrow. It's now time to sleep. 
 
  I will look into this. I'm using mongrel to test a website I make with ruby
  on Rails.
  So it must can work with localhost instead of a real url.
 
 
 All web servers work locally (listen/bind to local addresses), not
 entirely sure if I follow your statement.
 -- 
What I ment is for mongrel to start with capabary I had to insert this into 
env.rb  Change Capybara server settingsAdd these lines to 
“features/support/env.rb”:


Capybara.server_port = 3001Capybara.app_host = localhost:3001Capybara.server 
do |app, port|  require 'rack/handler/mongrel'  Rack::Handler::Mongrel.run(app, 
:Port = port)endMust I do the same for puma? Roelof Luis Lavena
 AREA 17
 -
 Perfection in design is achieved not when there is nothing more to add,
 but rather when there is nothing more to take away.
 Antoine de Saint-Exupéry
 ___
 Mongrel-users mailing list
 Mongrel-users@rubyforge.org
 http://rubyforge.org/mailman/listinfo/mongrel-users
  ___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users