[Rails] Re: How to include a vendor multi-module JS library in Rails?

2014-09-02 Thread Luís de Sousa
Hi Damjan, These URLs are point to /datasets/mass_import, a path that does not exist in this project: http://localhost:3000/datasets/mass_import/GeoExt/data/reader/Wmc.js?_dc=1409661484402 If you are correct, then I a do not have much of an idea where to include the library. Thank you, Luí

Re: [Rails] How to include a vendor multi-module JS library in Rails?

2014-09-02 Thread Luís de Sousa
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 > > wrote: > > Hello everyone, > > > > I am trying to

[Rails] How to include a vendor multi-module JS library in Rails?

2014-08-28 Thread Luís de Sousa
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

[Rails] OpenLayers and Rails: how to set up a ProxyHost?

2013-05-29 Thread Luís de Sousa
Dear all, I'm using OpenLayers (and GeoExt) to embed an interactive map in a rails application. Things work pretty well with WMS requests, but now I'd need to implement a GetFeatureInfo feature. This requires the XMLHTTPRequest object, through which requests to remote servers are not allowed. Read

[Rails] Re: Postgresql adapter not working

2011-10-07 Thread Luís de Sousa
On Oct 6, 6:16 pm, Romain Maz BILLOIR wrote: > > Yes: to create a postgresql based application, you need to use the "-d > postgresql" argument, if you forgot it, One can only forget things one has learned in the past. I'll stick to postgres-pr for now, it is recommended in several places on the w

[Rails] Re: Postgresql adapter not working

2011-10-07 Thread Luís de Sousa
That seems useful, Thank you Bob. Luís On Oct 6, 4:37 pm, Rob Biedenharn wrote: > On Oct 6, 2011, at 9:48 AM, Peter Vandenabeele wrote: > > tl;drhttps://gist.github.com/1261571 > > At Gaslight Software, we are helping a group at a local high school   > develop a simple web application and have e

[Rails] Re: Postgresql adapter not working

2011-10-07 Thread Luís de Sousa
/12/ubuntu-ruby-rvm-rails-and-you/ Though it installed the pg adapter instead of the postgres-pr gem. Luís On Oct 6, 3:48 pm, Peter Vandenabeele wrote: > 2011/10/5 Luís de Sousa > > > Hello again, > > > I managed to get rake db:create to work, it requires the creation of

[Rails] Re: Postgresql adapter not working

2011-10-05 Thread Luís de Sousa
should be made clear on the tutorial; some basic guidelines on which adapter to use could also be helpful. Thank you, Luís 2011/10/5 Luís de Sousa > Hello again, > > Browsing a bit more I stumbled on a suggestion to install yet another gem: > postgres. This gem doesn't even i

[Rails] Postgresql adapter not working

2011-10-05 Thread Luís de Sousa
Hello everyone. I'm starting with Rails going through the obvious "Getting Started with Rails" guide: http://guides.rubyonrails.org/getting_started.html Everything goes smoothly until the rake db:create command, which returns this strange error message referring to a gem that apparently doesn't e

[Rails] Re: Postgresql adapter not working

2011-10-05 Thread Luís de Sousa
icial" Rails gem for postgres? Or an "official" adapter install guide? Thank you, Luís 2011/10/4 Luís de Sousa > Hello everyone. I'm starting with Rails going through the obvious > "Getting Started with Rails" guide: > > http://guides.rubyonrails.org/ge