On 27 Jul 2011, at 15:35, Keith Raymond wrote:
It looks like it's looking for these stylesheet.css and
javascript.js in
a number of different directories inside public. Why would it be
doing
that? Why wouldn't the tutorial even mention that?
It seems like a configuration isn't correct some how.
In the actual app/sproutcore directory there's a tmp/ directory that
contains a this type of file structure within it (static/sproutcore/
and
so on). I feel it's not pointing to the correct place or something.
Just to get some things straight here: are you using sproutcore 1 or
2? By the looks of it, you're still using sproutcore 1 or sproutcore
2, but not the template based one that doesn't need compiling (instead
relying on just including a javascript file).
Sproutcore 2 is all about ditching the whole UI scripting thing and
instead switching to something that feels more like working within a
web development environment, albeit with the nice bindings through the
use of handlebar templates.
In any case, if you want to get it working with the sproutcore app you
have now, you'll need to figure out which files to put in the public
space (i.e. the static files section) of your Rails app, so it can
find them properly. The errors you get in your Rails server log should
help you to find out where Sproutcore is looking for the files.
Best regards
Peter De Berdt
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" 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/rubyonrails-talk?hl=en.