[OSM-dev] [RAILS] installing on Ubuntu Edgy?

SteveC steve at asklater.com
Sat Apr 28 08:24:33 BST 2007


Thats very odd - compression plugin should have been pulled in via  
svn:external? whats in vendor/ and vendor/plugins?

xlm errors - is libxml-ruby (IIRC) installed?

On 28 Apr 2007, at 07:27, Schuyler Erle wrote:

> To better inform my understanding of OSM's data modelling issues, and
> answer the general call for people to try it for themselves at home, I
> got the Rails port of the OSM service from SVN and tried installing
> it. Unfortunately, knowing nothing about Rails, I ran into a few
> snags.
>
> First off I had to install Rails via gems in order to stop errors
> about missing rubygems:
> http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntu
>
> Next, I got errors about "undefined method `compress_output'".ran:
>
>   $ ruby script/plugin discover
>   $ ruby script/plugin install output_compression
>
> This yielded a "undefined method `request_for_component' for module
> `ActionController::Components'". So then I followed the instructions
> in
> http://wiki.rubyonrails.org/rails/pages/Better+Output+Compression 
> +Plugin.
> However... this still yields an error on /api/0.4/map?bbox=... of
> "undefined method `compress_output'" again.
>
> At this point I went and commented out all the "after_filter
> :compress_output" lines, which yielded this error:
>
>  NoMethodError in ApiController#map
>  undefined method `xmlschema' for nil:NilClass
>
> And a stack trace:
>
>  app/models/segment.rb:84:in `to_xml_node'
>  app/controllers/api_controller.rb:88:in `map'
>  app/controllers/api_controller.rb:87:in `map'
>  /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/ 
> base.rb:1095:in
> `perform_action_without_filters'
>  ...
>
> I am afraid I already reveal the depths of my ignorance with Rails.
> Any advice for getting Rails working on Ubuntu or Debian would be most
> welcome.
>
> SDE
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>

have fun,

SteveC | steve at asklater.com | http://www.asklater.com/steve/






More information about the dev mailing list