On 28 August 2014 09:03, Luís de Sousa <[email protected]> wrote:
> Hello everyone,
>
> I am trying to include a JS library (GeoExt) in an existing Rails
> application. Following the Asset Pipeline guide, I did:
>
> Created the folder /vendor/assets/javascripts/GeoExt to where I copied all
> the JS modules.
>
> Created the file /vendor/assets/javascripts/GeoExt/index.js containing the
> //= require_tree . directive.
>
> In the application.js file included the directive //= require GeoExt.
>
> With this setting I am getting a 404 error every time a module from this
> library is referenced. What am I doing wrong?

I have not done exactly that.  Does it work if you put GeoExt
immediately under assets so /vendor/assets/GeoExt?

Colin

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtyqaQPQH4GN6Scp7mzVSiG9ZUo6LutbTUSHK1%2B6m0sPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to