Ruby on Rails Tuesday, September 2, 2014

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 <luis.a....@gmail.com> 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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.

1 comment:

Peter John airbnb clone script said...

Launch your very own Multi Vendor Ecommerce Platform to eliminate your competition. Laravel Ecommerce- Multi Vendor Marketplace Script provides 100% customizable open source script with incredible features
Visit https://www.pofitec.com/multi-vendor-shopping-cart-software
multi vendor shopping cart
Multi vendor Ecommerce Platform
multi vendor ecommerce script
best multi vendor shopping cart
multi vendor marketplace script
Multi vendor shopping cart script
Multi Vendor Shopping Cart Software
PHP multi vendor shopping cart
multi vendor ecommerce
Multi vendor marketplace

Post a Comment