Hi Colin, No, moving the library a folder up doesn't not change the outcome.
Thank you, Luís On Thursday, 28 August 2014 10:23:11 UTC+2, Colin Law wrote: > > On 28 August 2014 09:03, Luís de Sousa <[email protected] <javascript:>> > 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/00679efa-4231-4d07-8822-2dc36c8a001d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

