If that be the case, are you sure mongrel 1.1.5 is compatible with Ruby
1.9.2? I haven't actually tried Mongrel out in years. I use the
Passenger module on a pretty regular basis and can attest that it works
with Ruby 1.9.2.
--
Kevin
>> ** http11_parser.rl: In function �http_parser_execute�:
>> ** http11_parser.rl:105: warning: comparison between signed and
>> unsigned integer expressions
>> ** gcc -I. -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/
>> i686-linux -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/
>> ruby/backward -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1
>> -I. -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-
>> parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-
>> missing-field-initializers -Wno-long-long -fPIC -o http11.o -c
>> http11.c
>> ** http11.c: In function �http_field�:
>> ** http11.c:70: warning: format not a string literal and no format
>> arguments
>> ** http11.c:71: warning: format not a string literal and no format
>> arguments
>> ** http11.c:77: error: �struct RString� has no member named �ptr�
>> ** http11.c:77: error: �struct RString� has no member named �len�
>> ** http11.c: In function �request_uri�:
>> ** http11.c:102: warning: format not a string literal and no format
>> arguments
>> ** http11.c: In function �fragment�:
>> ** http11.c:113: warning: format not a string literal and no format
>> arguments
>> ** http11.c: In function �request_path�:
>> ** http11.c:124: warning: format not a string literal and no format
>> arguments
>> ** http11.c: In function �query_string�:
>> ** http11.c:135: warning: format not a string literal and no format
>> arguments
>> ** http11.c: In function �header_done�:
>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>> ** http11.c:174: error: �struct RString� has no member named �ptr�
>> ** http11.c:176: error: �struct RString� has no member named �ptr�
>> ** http11.c:177: error: �struct RString� has no member named �len�
>> ** http11.c: In function �HttpParser_execute�:
>> ** http11.c:298: error: �struct RString� has no member named �ptr�
>> ** http11.c:299: error: �struct RString� has no member named �len�
>> ** http11_parser.rl: In function �http_parser_execute�:
>> ** http11_parser.rl:105: warning: comparison between signed and
>> unsigned integer expressions
>> ** gcc -I. -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/
>> i686-linux -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/
>> ruby/backward -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1
>> -I. -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-
>> parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-
>> missing-field-initializers -Wno-long-long -fPIC -o http11.o -c
>> http11.c
>> ** http11.c: In function �http_field�:
>> ** http11.c:70: warning: format not a string literal and no format
>> arguments
>> ** http11.c:71: warning: format not a string literal and no format
>> arguments
>> ** http11.c:77: error: �struct RString� has no member named �ptr�
>> ** http11.c:77: error: �struct RString� has no member named �len�
>> ** http11.c: In function �request_uri�:
>> ** http11.c:102: warning: format not a string literal and no format
>> arguments
>> ** http11.c: In function �fragment�:
>> ** http11.c:113: warning: format not a string literal and no format
>> arguments
>> ** http11.c: In function �request_path�:
>> ** http11.c:124: warning: format not a string literal and no format
>> arguments
>> ** http11.c: In function �query_string�:
>> ** http11.c:135: warning: format not a string literal and no format
>> arguments
>> ** http11.c: In function �header_done�:
>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>> ** http11.c:174: error: �struct RString� has no member named �ptr�
>> ** http11.c:176: error: �struct RString� has no member named �ptr�
>> ** http11.c:177: error: �struct RString� has no member named �len�
>> ** http11.c: In function �HttpParser_execute�:
>> ** http11.c:298: error: �struct RString� has no member named �ptr�
>> ** http11.c:299: error: �struct RString� has no member named �len�
I suspect if you went with Ruby 1.8.7 you wouldn't have any problems
with Mongrel. If you know of a version that does work, any patches
would be appreciated. At this point you can modify the files generated
in your project to test out different things.
--
Kevin
>>>> ** http11_parser.rl: In function �http_parser_execute�:
>>>> ** http11_parser.rl:105: warning: comparison between signed and
>>>> unsigned integer expressions
>>>> ** gcc -I. -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/
>>>> i686-linux -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/
>>>> ruby/backward -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1
>>>> -I. -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-
>>>> parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-
>>>> missing-field-initializers -Wno-long-long -fPIC -o http11.o -c
>>>> http11.c
>>>> ** http11.c: In function �http_field�:
>>>> ** http11.c:70: warning: format not a string literal and no format
>>>> arguments
>>>> ** http11.c:71: warning: format not a string literal and no format
>>>> arguments
>>>> ** http11.c:77: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:77: error: �struct RString� has no member named �len�
>>>> ** http11.c: In function �request_uri�:
>>>> ** http11.c:102: warning: format not a string literal and no format
>>>> arguments
>>>> ** http11.c: In function �fragment�:
>>>> ** http11.c:113: warning: format not a string literal and no format
>>>> arguments
>>>> ** http11.c: In function �request_path�:
>>>> ** http11.c:124: warning: format not a string literal and no format
>>>> arguments
>>>> ** http11.c: In function �query_string�:
>>>> ** http11.c:135: warning: format not a string literal and no format
>>>> arguments
>>>> ** http11.c: In function �header_done�:
>>>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:174: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:176: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:177: error: �struct RString� has no member named �len�
>>>> ** http11.c: In function �HttpParser_execute�:
>>>> ** http11.c:298: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:299: error: �struct RString� has no member named �len�
>>>> ** http11_parser.rl: In function �http_parser_execute�:
>>>> ** http11_parser.rl:105: warning: comparison between signed and
>>>> unsigned integer expressions
>>>> ** gcc -I. -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/
>>>> i686-linux -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/
>>>> ruby/backward -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1
>>>> -I. -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-
>>>> parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-
>>>> missing-field-initializers -Wno-long-long -fPIC -o http11.o -c
>>>> http11.c
>>>> ** http11.c: In function �http_field�:
>>>> ** http11.c:70: warning: format not a string literal and no format
>>>> arguments
>>>> ** http11.c:71: warning: format not a string literal and no format
>>>> arguments
>>>> ** http11.c:77: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:77: error: �struct RString� has no member named �len�
>>>> ** http11.c: In function �request_uri�:
>>>> ** http11.c:102: warning: format not a string literal and no format
>>>> arguments
>>>> ** http11.c: In function �fragment�:
>>>> ** http11.c:113: warning: format not a string literal and no format
>>>> arguments
>>>> ** http11.c: In function �request_path�:
>>>> ** http11.c:124: warning: format not a string literal and no format
>>>> arguments
>>>> ** http11.c: In function �query_string�:
>>>> ** http11.c:135: warning: format not a string literal and no format
>>>> arguments
>>>> ** http11.c: In function �header_done�:
>>>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:174: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:176: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:177: error: �struct RString� has no member named �len�
>>>> ** http11.c: In function �HttpParser_execute�:
>>>> ** http11.c:298: error: �struct RString� has no member named �ptr�
>>>> ** http11.c:299: error: �struct RString� has no member named �len�
Incidentally, this is also where you update the RVM version number if
you need a newer one than was available the last time the rubber gem was
created.
--
Kevin
>>>>>> ** http11_parser.rl: In function �http_parser_execute�:
>>>>>> ** http11_parser.rl:105: warning: comparison between signed and
>>>>>> unsigned integer expressions
>>>>>> ** gcc -I. -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/
>>>>>> i686-linux -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/
>>>>>> ruby/backward -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1
>>>>>> -I. -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-
>>>>>> parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-
>>>>>> missing-field-initializers -Wno-long-long -fPIC -o http11.o -c
>>>>>> http11.c
>>>>>> ** http11.c: In function �http_field�:
>>>>>> ** http11.c:70: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** http11.c:71: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** http11.c:77: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:77: error: �struct RString� has no member named �len�
>>>>>> ** http11.c: In function �request_uri�:
>>>>>> ** http11.c:102: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** http11.c: In function �fragment�:
>>>>>> ** http11.c:113: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** http11.c: In function �request_path�:
>>>>>> ** http11.c:124: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** http11.c: In function �query_string�:
>>>>>> ** http11.c:135: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** http11.c: In function �header_done�:
>>>>>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:174: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:176: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:177: error: �struct RString� has no member named �len�
>>>>>> ** http11.c: In function �HttpParser_execute�:
>>>>>> ** http11.c:298: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:299: error: �struct RString� has no member named �len�
>>>>>> ** http11_parser.rl: In function �http_parser_execute�:
>>>>>> ** http11_parser.rl:105: warning: comparison between signed and
>>>>>> unsigned integer expressions
>>>>>> ** gcc -I. -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/
>>>>>> i686-linux -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/
>>>>>> ruby/backward -I/usr/local/rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1
>>>>>> -I. -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-
>>>>>> parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-
>>>>>> missing-field-initializers -Wno-long-long -fPIC -o http11.o -c
>>>>>> http11.c
>>>>>> ** http11.c: In function �http_field�:
>>>>>> ** http11.c:70: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** http11.c:71: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** http11.c:77: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:77: error: �struct RString� has no member named �len�
>>>>>> ** http11.c: In function �request_uri�:
>>>>>> ** http11.c:102: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** http11.c: In function �fragment�:
>>>>>> ** http11.c:113: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** http11.c: In function �request_path�:
>>>>>> ** http11.c:124: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** http11.c: In function �query_string�:
>>>>>> ** http11.c:135: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** http11.c: In function �header_done�:
>>>>>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:172: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:174: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:176: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:177: error: �struct RString� has no member named �len�
>>>>>> ** http11.c: In function �HttpParser_execute�:
>>>>>> ** http11.c:298: error: �struct RString� has no member named �ptr�
>>>>>> ** http11.c:299: error: �struct RString� has no member named �len�
>>>>>> ** http11.c:307: warning: format not a string literal and no format
>>>>>> arguments
>>>>>> ** make: *** [http11.o] Error 1
>>>>>> **
>>>>>> **
>>>>>> ** Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.2-
>>>>>> p0/gems/mongrel-1.1.5 for inspection.
>>>>>> ** Results logged to /usr/local/rvm/gems/ruby-1.9.2-p0/gems/
>>>>>> mongrel-1.1.5/ext/http11/gem_make.out
>>>>>> ** 4 gems installed
>>>>>> ** /tmp/gem_helper:37:in `<main>': Unable to install gems
>>>>>> (RuntimeError)
>>>>>> command finished
>>>>>> failed: "/bin/bash -l -c 'sudo -p '\\''sudo password: '\\'' bash -l -
>>>>>> c...
>> read more �
>
TCPKeepAlive, or ServerAliveInterval in ssh_config?
Information on these can be found in man ssh_config.
Andy
--
Kevin
Matt
> --
> You received this message because you are subscribed to the Google Groups "rubber" group.
> To post to this group, send email to rubbe...@googlegroups.com.
> To unsubscribe from this group, send email to rubber-ec2+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubber-ec2?hl=en.
>
Matt