Well, it's weird...like, I can say require 'rubygems' and require the gems I need...but I can't go "gem install <gem>" from the command prompt, for instance. Yeah, I don't fully understand it myself, and I don't think I can just find the gem executable somewhere and run it...
On Nov 6, 10:43 pm, "Yehuda Katz" <[EMAIL PROTECTED]> wrote: > You'd run thor merb:gem:redeploy in your deploy task. This would reinstall > your binaries on the remote side to use your appropriate architecture. > -- Yehuda > > On Thu, Nov 6, 2008 at 11:53 PM, Julian Leviston <[EMAIL PROTECTED]>wrote: > > > > > How does that work when you're deploying on a different architecture than > > where you bundled it? > > Julian. > > > On 07/11/2008, at 3:47 PM, Yehuda Katz wrote: > > > Max: > > Bundled Merb (used via thor merb:gem:install <gem-name>) is designed to > > deal with the deployment problem. Basically, you get all of your gems > > bundled in your app, and the app runs on bundled gems only, not system gems. > > > On another topic, if you can't use rubygems in general, Merb isn't really > > gonna work for you :( > > > -- Yehuda > > > On Thu, Nov 6, 2008 at 11:35 PM, Max <[EMAIL PROTECTED]> wrote: > > >> It turns out I don't actually need to bundle Mongrel like I thought, > >> but... > > >> My current workplace has a sort of taboo on the general use of > >> rubygems, mainly because it's (relatively) difficult to consistently > >> deploy stable versions to production servers (or so certain other > >> influential people think...). > > >> I would imagine making a custom runner wouldn't be that bad, but I > >> don't really need to, at this point... > > >> Thanks anyway! > >> Max > > >> On Nov 5, 5:53 pm, "Michael Klishin" <[EMAIL PROTECTED]> > >> wrote: > >> > 2008/11/6 Max <[EMAIL PROTECTED]>: > > >> > > Is it possible that we could allow mongrel to be bundled and used > >> > > along with merb? I used thor to install mongrel into the local gems > >> > > directory (thor merb:gem:install mongrel), but when I try to start > >> > > merb I get FATAL: Mongrel is not installed, etc etc. Or am I doing > >> > > something wrong? > > >> > Probably because RubyGems path is set late. Are you using custom merb > >> > binary or how do you point Merb to use bundled server? > >> > In general, there's nothing about it that makes it impossible, but I > >> > am not sure how would you do it without writing a custom runner. > >> > -- > >> > MK > > > -- > > Yehuda Katz > > Developer | Engine Yard > > (ph) 718.877.1325 > > -- > Yehuda Katz > Developer | Engine Yard > (ph) 718.877.1325 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
