I'm a little lost at this point so I figure it's time for a post to
the mailing list. I've tried to find a straight forward guide to
running the head rev of sproutcore from the git repo. I've found a few
references but none of them work out of the box and some point to the
old sproutit repo.
Here's where I've gotten so far:
% git clone
https://github.com/sproutcore/sproutcore.git
% cat > Gemfile
gem "sproutcore", :git => "git://
github.com/sproutcore/abbot.git" ^D
% bundle install --binstubs
If I try to run sc-server at this point I get a failure about not
being able to find sproutcore:lib/index.rhtml
To get around this:
% ln -s PATH_TO_SC_CHECKOUT PATH_TO_ABBOT_GEM/lib/frameworks/
sproutcore
really hacky since the abbot gem will change each time someone commits
to the abbot repo
Now I can at least start to see stuff rendered (e.g. if I query
localhost:4020/docs). But everything is wonky
localhost:4020/ -> returns nothing at all (looks like something goes
wrong in the Rack cascade? SC::Rack::Service:113-148)
localhost:4020/greenhouse responds but the tmp staging directory is
messed up. Things aren't cleanly separated by project under static.
localhost:4020/sproutcore/greenhouse at least puts things under .../
static/sproutcore/* but I still get a slew of warnings that look like
the following:
WARN ~ Could not find entry 'panes/pane' required in sproutcore:source/
tmp/debug/staging/static/foundation/en/current/panes/main.js
WARN ~ Could not find entry 'panes/pane' required in sproutcore:source/
tmp/debug/staging/static/sproutcore/en/current/tmp/debug/staging/
static/foundation/en/current/panes/main.js
WARN ~ Could not find entry 'panes/pane' required in sproutcore:source/
tmp/debug/staging/static/sproutcore/en/current/tmp/debug/staging/
static/sproutcore/en/current/tmp/debug/staging/static/foundation/en/
current/panes/main.js
WARN ~ Could not find entry 'panes/pane' required in sproutcore:source/
tmp/debug/staging/static/sproutcore/en/current/tmp/debug/staging/
static/sproutcore/en/current/tmp/debug/staging/static/sproutcore/en/
current/tmp/debug/staging/static/foundation/en/current/panes/main.js
At this point I'm a little stumped. What's the best way to install
sproutcore and / or abbot so I can hack on it and run the latest
version
thanks,
shawn
btw, I got as far as above by trying to reconcile info from the
following:
The link you get when you try to git clone abbot and then invoke the
sc-* wrappers directly (regardless of whether you checkout sproutcore
in the frameworks subdir). Yes, it still points to sproutit rather
than sproutcore
https://github.com/sproutit/sproutcore-abbot/wiki/Using-Abbot-1.4-From-Source
The obviously out of date instructions on running from latest when
greenhouse was announced
http://blog.sproutcore.com/post/535950751/introducing-greenhouse
After some digging, but still couldn't get the steps here working
http://wiki.sproutcore.com/w/page/12412840/Abbot-Setting%20Up