On 26 Jul 2011, at 21:45, Keith Raymond wrote:
I go to load the page and I get "loading" in the browser and repeated
"RoutingError" in my development.log
-------------------------------------------------------
Started GET "/_sproutcore" for 127.0.0.1 at Tue Jul 26 15:24:06 -0400
2011
Started GET
"/static/sproutcore/foundation/en/current/stylesheet.css?1311606026"
for
127.0.0.1 at Tue Jul 26 15:24:07 -0400 2011
ActionController::RoutingError (No route matches
"/static/sproutcore/foundation/en/current/stylesheet.css"):
Rendered
/Users/kraymond/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.0.8/
lib/action_dispatch/middleware/templates/rescues/routing_error.erb
within rescues/layout (0.6ms)
Started GET
"/static/sproutcore/standard_theme/en/current/stylesheet.css?
1311606027"
for 127.0.0.1 at Tue Jul 26 15:24:07 -0400 2011
ActionController::RoutingError (No route matches
"/static/sproutcore/standard_theme/en/current/stylesheet.css"):
Rendered
/Users/kraymond/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.0.8/
lib/action_dispatch/middleware/templates/rescues/routing_error.erb
within rescues/layout (0.6ms)
-----------------------------------------------------------
It just goes on from there for quite some time. I'm not finding
anything with this when I google it.
Does anyone have any experience using sproutcore 2.0 and Rails 3.0.8
or
even any rails > 3.0.0? Or even if you have an idea of what's going
on,
I'm all ears.
I'm using Rails 3.0.8 and bulk_api gem and sproutcore 2.0
These errors don't seem to be related to Rails at all. You should have
a structure like /myapp/public/static/sproutcore/standard_theme/en/
current/stylesheet but apparently that's not in there. That causes
Rails to look for a controller that can fullfill that duty, which it
won't find of course.
Just statically serve the sproutcore CSS tbh. No need to go all fancy
on that.
There's probably a way to modify the path that Sproutcore loads it CSS
from too.
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.