Ruby on Rails Thursday, April 25, 2013

On 04/24/2013 07:22 PM, tamouse mailing lists wrote:
> On Wed, Apr 24, 2013 at 2:56 AM, jane d. <lists@ruby-forum.com> wrote:
>> I have been looking for answer.but nothing quite fit my description. My
>> rails app keeps crashing with routing error.
> Look at what it's trying parse as a route:
>
> ActionController::RoutingError (no route found to match
> "/javascripts/prototype.lite.js" with {:method=>:get}):
> /www/lib/ruby/gems/1.8/gems/actionpack
>
> That means the server did not find
> Rails.root/public/assets/javascripts/prototype.lite.js and so went
> searching in the application for such a route, where it really
> hopefully should not find one.
> ...
On old versions like the OP is using the js is found in
RAILS_ROOT/public/javascripts as bundler is not used.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment