I'm on vacation this week and want to have some fun. My job
responsibilities have kept me heads-down in Rails 2.3.x and I'm going
to do some "exploring." Thought I'd jump right to 3.1 but also want
to get my feet wet with Juggernaut. Ideally, I could explore both 3.1
and Jugg2 in the same (small) app. I'm wondering if that's a good
idea, where "good" has a "fits within the time constraints" component.
Vacations don't go on forever ;-). Any / all recommendations very
much appreciated!
TIA,
Bill
On Tue, Jul 26, 2011 at 10:28 AM, Matt Chan <chan.m...@gmail.com> wrote:
> What "index.html" files are you talking about? Your own index.html and the
> one provided by Juggernaut? I guess I don't understand what it is you are
> trying to do when you say that you don't know "which index.html file is
> being rendered."
When you start juggernaut and set your browser url to localhost:8080
it renders (by default) index.html. There were more than one
installed as I was getting all the pieces installed and I couldn't
figure out which one was getting rendered. Yesterday evening I got
back to looking at it and when I started juggernaut and browsed to
localhost:8080 it rendered the one located at
'/usr/lib/node_modules/juggernaut/public/index.html" I can tell
because it displayed the <h2> element that I added with that url as
the innerHTML. No idea yet why it wouldn't the first time(s) around.
Much more to learn. Hoping to get back to it tomorrow and get on with
the Rails integration.
Thanks,
Bill