[Mongrel] Mongrel_rails can't find memcache-client

2010-03-24 Thread T_ S_
I added memcache-client to our app:
config.gem memcache-client, :version = 1.8.1

According to gem list the gem is there:
memcache-client (1.8.1)

If I run our app with script/server everything works just fine but
when I try to run it with mongrel_rails start it stops with error:
no such file to load -- memcache-client

So is there something different how mongrel_rails looks up gems? What is
so special about this gem as the other gems work just fine?
-- 
Posted via http://www.ruby-forum.com/.
___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users


Re: [Mongrel] Mongrel_rails can't find memcache-client

2010-03-24 Thread Luis Lavena
On Wed, Mar 24, 2010 at 7:56 AM, T_ S_ li...@ruby-forum.com wrote:
 I added memcache-client to our app:
 config.gem memcache-client, :version = 1.8.1

 According to gem list the gem is there:
 memcache-client (1.8.1)

 If I run our app with script/server everything works just fine but
 when I try to run it with mongrel_rails start it stops with error:
 no such file to load -- memcache-client

 So is there something different how mongrel_rails looks up gems? What is
 so special about this gem as the other gems work just fine?

When you start mongrel_rails, you're doing without daemonize, correct?

There is no configuration file that indicates mongrel should change
user or group when running, correct?

It might be that the memcache-client gem is not installed system wide.

I've used mongrel_rails, combined with memcache-client and memcached
in a bundler configuration and worked without issues, so the problem
might be something else.

Can you build an exact pastie/gist of the output you're receiving? (or
can replicate with a simple rails app?)

Thank you
-- 
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] VirtualHost like in the Apache-PHP world

2010-03-24 Thread Nagy Tamás
How to make virtual hosts in mongrel?

::how to serve example1.tld, example2.tld, .. exampleN.tld#39;s different ruby 
apps?

thanks in advence
frikazojd.

a href=http://ad.adverticum.net/b/cl,1,73468,1598288,1592431/click.prm; 
target=_blankbrÚjdonság!
 Megérkezett a RIGHT GUARD férfi testápolási termékcsalád! Most 25% 
kedvezménnyel!
Akár 48 órás hatásos védelem a testszag ellen!br/a___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] VirtualHost like in the Apache-PHP world

2010-03-24 Thread Jonathan Rochkind
You do it all in Apache.  Typical way to deploy mongrel is fronted with 
an Apache reverse proxy. You need to set up everything in Apache, and 
have the right requests proxied to the right mongrel. It's all about 
apache, no config in Mongrel.


You may also want to consider mod_rails/passenger instead of mongrel, it 
seems to be more popular these days for Rails deployment, and you may 
find it easier to set up the way you want.


Jonathan

Nagy Tamás wrote:

How to make virtual hosts in mongrel?

::how to serve example1.tld, example2.tld, .. exampleN.tld's different ruby 
apps?

thanks in advence
frikazojd.



Újdonság! Megérkezett a RIGHT GUARD férfi testápolási termékcsalád! Most 25% 
kedvezménnyel! Akár 48 órás hatásos védelem a testszag ellen! 
http://ad.adverticum.net/b/cl,1,73468,1598288,1592431/click.prm

  

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


Re: [Mongrel] VirtualHost like in the Apache-PHP world

2010-03-24 Thread Nagy Tamás
Thank you, Jonathan! but i#39;d like to try out Mongrel..so, I set the apache 
with mod_proxy.. i think it should forward the request to mongrel, 
localhost:3000.. but how will the mongrel figure out where are the ruby apps? 
it will get a request for example.tld or example6.tld and example4.tld at the 
same time.. .. ??

Jonathan Rochkind rochk...@jhu.edu írta:
You do it all in Apache.  Typical way to deploy mongrel is fronted with 
an Apache reverse proxy. You need to set up everything in Apache, and 
have the right requests proxied to the right mongrel. It#39;s all about 
apache, no config in Mongrel.

You may also want to consider mod_rails/passenger instead of mongrel, it 
seems to be more popular these days for Rails deployment, and you may 
find it easier to set up the way you want.

Jonathan
 


a href=http://ad.adverticum.net/b/cl,1,73468,1598288,1592431/click.prm; 
target=_blankbrÚjdonság!
 Megérkezett a RIGHT GUARD férfi testápolási termékcsalád! Most 25% 
kedvezménnyel!
Akár 48 órás hatásos védelem a testszag ellen!br/a___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] VirtualHost like in the Apache-PHP world

2010-03-24 Thread Hassan Schroeder
2010/3/24 Nagy Tamás frikaz...@freemail.hu:

 but i'd like to try out Mongrel..
 so, I set the apache with mod_proxy.. i think it should forward the request
 to mongrel, localhost:3000.. but how will the mongrel figure out where are
 the ruby apps? it will get a request for example.tld or example6.tld and
 example4.tld at the same time.. .. ??

You need to have at least one mongrel instance per domain, and set
up your httpd proxy accordingly.

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
twitter: @hassan
___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users