This is in reference to the "So you want to contribute" wiki post...

I really like the concept behind thor. However I ran into lots of
trouble getting it to work on a clean system.  After lots of mucking
around, I was finally able to document the steps required to install
edge using thor here: http://wiki.merbivore.com/howto/installation/edge
(see system wide section)

I am pretty new to merb, so I felt this might help highlight what I
see as the rough spots when using thor. One of the main things I
noticed is merb:stack:install --edge is leaving out 3 gems needed to
actually run merb (merb-param-protection, merb-exceptions, and
merb_datamapper). It also seems that merb-gen should be installed with
stack, but possibly I am missing some reasoning here.

Next, I was able to bootstrap a full merb stack (with all gem
dependencies) inside of my project. I will try to post detailed
instructions on the wiki here soon, but until then, here are a few
hints and things that felt unintuitive to me:

- thor and merb-core, and merb-gen to some extent, are required on
system to bootstrap your project with thor (makes sense)

- If you want to install thor or merb-gen inside your project, you
must do that before you run merb:stack:install inside your project.
Otherwise, the system wide thor will puke when in your project's
context. And then you are stuck not being able to install thor in your
project. (It seems a project context merb:stack:install should also
install thor and merb-gen locally)

- Wrapper scripts are not being created in the ./bin directory for
certain gems (thor, merb-gen, rspec) when installed with thor in a
project context. A minor annoyance because they are created in ./gems/
bin... but seems inconsistent because other wrapper scripts are being
created (merb, slice)

- Same three gems above not being installed in project context either.

Hope this helps further refine thor awesomeness.

Peter

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