Hi Fabien

I really appreciate your efforts to try replicating. Unfortunately I
still have the same issue and can replicate myself.

I'm running RC2 locally (no 0.9.9 gems present).
I run merb-gen, remove all the DM dependencies from the app, run
thor merb:dependencies:install edge
ensure that all entries in config/dependencies.rb are present and correct
and commit everything to git.

On a new Ubuntu 8.04 instance, I install ruby-enterprise, clone my git repo, run
bin/thor merb:dependencies:redeploy
run bin/merb and get
[EMAIL PROTECTED]:/home/paul/ec2next# bin/merb
/opt/ruby-enterprise/lib/ruby/site_ruby/1.8/rubygems.rb:578:in
`report_activate_error': Could not find RubyGem extlib (>= 0.9.8)
(Gem::LoadError)

I then install extlib a bunch of other gems. I run bin/merb again and get
~ FATAL: The gem merb-action-args (= 0.9.10, runtime), [] was not found

Cheers
Paul

On Fri, Oct 24, 2008 at 11:41 AM, loob2 <[EMAIL PROTECTED]> wrote:
>
> Hi Paul,
>
> Merb should not be installed for deployment, at least that's how it's
> supposed to work.
>
> Unfortunately I can't reproduce what you describe (nor the exact
> output).
>
> I created a new sample app and ran: thor merb:dependencies:install
> edge
>
> I also edited config/dependencies.rb so the gem versions would match
> edge.
>
> After this bin/merb worked flawlessly. Maybe you can see if config/
> dependencies.rb is correct.
>
> - Fabien
>
> On Oct 24, 10:16 am, "Paul Carey" <[EMAIL PROTECTED]> wrote:
>> > The thor merb:dependencies:install task should bundle the actual
>> > application dependencies indeed, including extlib.
>>
>> > But be sure to run thor merb:dependencies:redeploy if you're going to
>> > deploy on another platform.
>>
>> Thanks Fabien, I'm still a little confused though. If I deploy onto a
>> new platform, must I already have merb installed? I had thought that
>> bundling would allow bin/merb to bootstrap itself, but maybe not. If I
>> do have merb installed running bin/merb works fine, and if I don't, I
>> receive the following.
>>
>> [EMAIL PROTECTED]:# bin/thor merb:dependencies:redeploy
>> [EMAIL PROTECTED]:# bin/merb
>> BUNDLE true
>> Gem.path: ["/home/paul/merbapp/gems", 
>> "/opt/ruby-enterprise/lib/ruby/gems/1.8"]
>> Loading init file from /config/init.rb
>> Loading /config/environments/development.rb
>>  ~ Loaded DEVELOPMENT Environment...
>>  ~
>>  ~ FATAL: The gem merb-action-args (= 0.9.10, runtime), [] was not found
>>  ~
>>  ~
>>  ~ FATAL: The file merb-action-args was not found
>>  ~
>> [EMAIL PROTECTED]:# ls gems/gems/
>> merb-action-args-0.9.10  merb-cache-0.9.10  merb-exceptions-0.9.10
>> merb-param-protection-0.9.10  thor-0.9.8
>> merb-assets-0.9.10       merb-core-0.9.10   merb-helpers-0.9.10     
>> rake-0.8.3
>> [EMAIL PROTECTED]:#
> >
>

--~--~---------~--~----~------------~-------~--~----~
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