[OSM-dev] Using the API from the dev server: is it possible?
Tommy Persson
tpe at ida.liu.se
Fri Jul 21 12:42:09 BST 2006
Richard Fairhurst <richard at systemeD.net> writes:
> Tommy Persson wrote:
>
> > Found it... I forgot .rb when I did a find. I have set path to it
> > but I still get errors:
> >
> > [Wed Jul 19 21:46:38 2006] [notice] Apache/2.0.55 (Debian)
> > mod_python/3.2.8 Python/2.3.5 PHP/4.4.2-1.1 proxy_html/2.4
> > mod_ruby/1.2.6 Ruby/1.8.4(2005-12-24) configured -- resuming normal
> > operations
> > [Wed Jul 19 21:46:38 2006] [error] mod_ruby: failed to require
> > apache/simple-auth
> > [Wed Jul 19 21:46:38 2006] [error] mod_ruby: error in ruby
> > [Wed Jul 19 21:46:38 2006] [error] mod_ruby:
> > /home/tompe/osm/svn/www.openstreetmap.org/ruby/api/osm/osmlog.rb:3:in
> > `load': no such file to load -- servinfo.rb (LoadError)
> > [Wed Jul 19 21:46:38 2006] [error] mod_ruby: from
> > /home/tompe/osm/svn/www.openstreetmap.org/ruby/api/osm/osmlog.rb:3
>
> I get exactly the same:
It seems to be the RubyAddPath that is not working. When I do
RubyRequire /usr/lib/ruby/1.8/apache/ruby-run
RubyRequire /home/tompe/osm/svn/www.openstreetmap.org/ruby/api/apache/simple-auth
some files are loaded but then some other files are not found.
Anybody has any ideas about how to solve this?
--
/Tommy Persson
More information about the dev
mailing list