Hi Jon,

I try to fix this issue in my fork:

http://github.com/kaichen/merb/tree/fix_merb-gen

You can clone it and run 'rake install' in merb/merb-core directory to
install the patched merb-core gem.

--
Regards,
Kai Chen



On Tue, Dec 22, 2009 at 11:29 AM, Kai Chen <[email protected]> wrote:
> I found following codes in merb-gen's initialize method.
>
>        Merb::BootLoader::Logger.run
>        Merb::BootLoader::BuildFramework.run
>        Merb::BootLoader::Dependencies.run
>
> I can't understand the last line above. I comment this line and
> merb-gen works well. Maybe only michaelklishin the author of merb-gen
> know this. Is there anyone know that?
>
> --
> Regards,
> Kai Chen
>
>
>
> On Tue, Dec 22, 2009 at 11:17 AM, Kai Chen <[email protected]> wrote:
>> oops, I misunderstand.
>>
>> I met this issue also. And I found a temporary and ugly solution.
>> First touch a file named Gemfile, and run: "merb-gen app ." command. I
>> think it's a issue after pk's bundle integration upgrade. You may as
>> well report this problem in lighthouseapp.
>>
>> --
>> Regards,
>> Kai Chen
>>
>>
>>
>> On Tue, Dec 22, 2009 at 11:02 AM, Jon Hancock <[email protected]> wrote:
>>> thanks, I've read that page and referenced it in my last reply.  Any
>>> ideas why merb-gen isn't working?
>>> thanks, Jon
>>>
>>> On Dec 21, 9:35 pm, Kai Chen <[email protected]> wrote:
>>>> I think another page of merb wiki will helpful:
>>>>
>>>> http://wiki.github.com/merb/merb/howto-using-the-bundler
>>>>
>>>> --
>>>> Regards,
>>>> Kai Chen
>>>>
>>>>
>>>>
>>>> On Tue, Dec 22, 2009 at 10:29 AM, Jon Hancock <[email protected]> 
>>>> wrote:
>>>> > thanks for the link.
>>>> > I've installed merb from github.com/merb/merb and am pretty sure I
>>>> > have all other dependents accounted for, but doing a simple "merb-gen
>>>> > app merb_test" fails.
>>>>
>>>> > Here's a stack trace:
>>>>
>>>> > Merb root at: /Users/jhancock/src
>>>> > /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/bundler-0.7.2/lib/
>>>> > bundler/dsl.rb:26:in `default_gemfile':
>>>> > Bundler::DefaultManifestNotFound (Bundler::DefaultManifestNotFound)
>>>> >        from 
>>>> > /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/bundler-0.7.2/
>>>> > lib/bundler/dsl.rb:8:in `load_gemfile'
>>>> >        from /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/merb-
>>>> > core-1.1.0.pre/lib/merb-core/bootloader.rb:422:in `rescue in
>>>> > load_dependencies'
>>>> >        from /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/merb-
>>>> > core-1.1.0.pre/lib/merb-core/bootloader.rb:402:in `load_dependencies'
>>>> >        from /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/merb-
>>>> > core-1.1.0.pre/lib/merb-core/bootloader.rb:383:in `run'
>>>> >        from /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/merb-
>>>> > gen-1.1.0.pre/lib/merb-gen/generator.rb:43:in `initialize'
>>>> >        from /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/merb-
>>>> > gen-1.1.0.pre/lib/merb-gen/named_generator.rb:10:in `initialize'
>>>> >        from /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/merb-
>>>> > gen-1.1.0.pre/lib/merb-gen/app_generator.rb:8:in `initialize'
>>>> >        from /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/
>>>> > templater-1.0.0/lib/templater/cli/generator.rb:61:in `new'
>>>> >        from /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/
>>>> > templater-1.0.0/lib/templater/cli/generator.rb:61:in `run'
>>>> >        from /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/
>>>> > templater-1.0.0/lib/templater/cli/manifold.rb:24:in `run'
>>>> >        from /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/
>>>> > templater-1.0.0/lib/templater/manifold.rb:80:in `run_cli'
>>>> >        from /usr/local/ruby-191-p376/lib/ruby/gems/1.9.1/gems/merb-
>>>> > gen-1.1.0.pre/bin/merb-gen:5:in `<top (required)>'
>>>> >        from /usr/local/ruby/bin/merb-gen:19:in `load'
>>>> >        from /usr/local/ruby/bin/merb-gen:19:in `<main>'
>>>>
>>>> > Can someone point me to up to date bundler usage?  There are several
>>>> > old posts on using it and the latest page at
>>>> >http://wiki.github.com/merb/merb/howto-using-the-bundleris half-baked
>>>> > and doesn't have instructions for creating a new project.  What I
>>>> > usually do when migrating to a more recent merb for a current project
>>>> > is generate a new app with  merb-gen and study what files changed from
>>>> > what I have in my working project.   Now that merb-gen is busted, I
>>>> > can't even do that.
>>>>
>>>> > thanks, Jon
>>>>
>>>> > On Dec 21, 8:29 pm, Kai Chen <[email protected]> wrote:
>>>> >>http://wiki.github.com/merb/merb/howto-install
>>>>
>>>> >> --
>>>> >> Regards,
>>>> >> Kai Chen
>>>>
>>>> >> On Tue, Dec 22, 2009 at 9:21 AM, Jon Hancock <[email protected]> 
>>>> >> wrote:
>>>> >> > about 4 months ago, I installed merb as follows:
>>>> >> > sudo gem install merb --sourcehttp://edge.merbivore.com--source
>>>> >> >http://gems.rubyforge.org
>>>>
>>>> >> > It was my understanding this was the latest merb 1.1 code.
>>>> >> > I have no idea what the current repository is now.  How are others
>>>> >> > installing merb edge (I'm using ruby 1.9.1)?
>>>>
>>>> >> > Any pointers?  thanks, Jon
>>>>
>>>> >> > --
>>>>
>>>> >> > 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 
>>>> >> > athttp://groups.google.com/group/merb?hl=en.
>>>>
>>>> > --
>>>>
>>>> > 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 
>>>> > athttp://groups.google.com/group/merb?hl=en.
>>>
>>> --
>>>
>>> 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.
>>>
>>>
>>>
>>
>

--

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