Can you also do:

source "http://mygemserver.com"; do
  dependency "haml", "~> 2.1.0"
end

-- Yehuda

2009/4/6 Jacques Crocker <[email protected]>

>
> Yep, I have it 99% of the way there. Still have some kinks I'm working
> out so I haven't committed it. I plan on focusing on it this week and
> having a stable patch by Sat.
>
> With the update, you'll be able to specify
> dependency "haml", "~> 2.1.0", :source => "http://my.gemserver.com";
>
> Then merb.thor will use this source attribute when it needs to install
> the gem.
>
> On Apr 6, 2:17 pm, Yehuda Katz <[email protected]> wrote:
> > Jacques: I believe you were discussing this. If I recall correctly, we
> added
> > this facility back into the version we will be releasing with 1.1?
> >
> > -- Yehuda
> >
> > On Thu, Feb 19, 2009 at 12:03 AM, Daniel Vartanov <
> [email protected]
> >
> >
> >
> > > wrote:
> >
> > > By the way, Yehuda, Source < Thor class was removed from recent
> > > versions of merb.thor? It was very convenient to store gem you
> > > developing in 'src' folder of application.
> >
> > > On Feb 19, 12:38 am, Yehuda Katz <[email protected]> wrote:
> > > > Let's add it!
> >
> > > > -- Yehuda
> >
> > > > 2009/2/18 Nicholas Orr <[email protected]>
> >
> > > > > This doesn't address the problem
> >
> > > > > "How does one specify a gem source from with the dependencies.rb
> file?"
> >
> > > > > The answer so far is
> >
> > > > > "You can't, not possible"
> >
> > > > > I'm looking for someone to give me a different answer, if there is
> one
> > > that
> > > > > is...
> >
> > > > > :)
> >
> > > > > On Thu, Feb 19, 2009 at 11:06 AM, Justin Smestad <
> > > [email protected]
> > > > > > wrote:
> >
> > > > >> dependency "haml", "~> 2.1.0" ....
> > > > >>   --
> > > > >> Justin Smestad
> > > > >> [email protected]
> >
> > > > >> On Feb 18, 2009, at 5:00 PM, Nicholas Orr wrote:
> >
> > > > >> Is it possible to specify the gem source in the dependence.rb
> file?
> >
> > > > >> dependency "haml", ">=2.1.0", :source => "
> http://gems.nicholasorr.com
> > > "
> >
> > > > >> ^ doesn't work ^
> >
> > > > >> Only thing I can do is add the source to rubygems...
> >
> > > > --
> > > > Yehuda Katz
> > > > Developer | Engine Yard
> > > > (ph) 718.877.1325
> >
> > --
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to