From jochen at remote.org Fri May 22 11:08:22 2009 From: jochen at remote.org (Jochen Topf) Date: Fri, 22 May 2009 17:08:22 +0200 Subject: [Osmlib-user] New version 0.1.4 Message-ID: <20090522150821.GA3875@localhost.localdomain> I just released version 0.1.4 of OSMlib. Changes: * Support for OSM API 0.6 * Support for Ruby 1.9 Jochen -- Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298 From sim at gis-lab.info Tue May 26 01:42:51 2009 From: sim at gis-lab.info (Maxim Dubinin) Date: Tue, 26 May 2009 00:42:51 -0500 Subject: [Osmlib-user] New version 0.1.4 In-Reply-To: <20090522150821.GA3875@localhost.localdomain> References: <20090522150821.GA3875@localhost.localdomain> Message-ID: <123115828.20090526004251@gis-lab.info> Hi, I was running OSMLib 0.1.3 under FreeBSD and Ruby 1.8.6. It was working ok. After updating OSMLib to 0.1.4 and Ruby to 1.9.1 It starts throwing errors. Is this because of 1.9.1? Note that geo_ruby is in fact in place, though it complains...Any ideas? Here is the log: ----------------------------- [sim at gis ~/gl/projects/osmrus]$ osmexport /usr/local/lib/ruby/1.9/rubygems/defaults.rb:11: warning: method redefined; discarding old default_sources /usr/local/lib/ruby/1.9/rubygems/defaults.rb:19: warning: method redefined; discarding old default_dir /usr/local/lib/ruby/1.9/rubygems/defaults.rb:31: warning: method redefined; discarding old user_dir /usr/local/lib/ruby/1.9/rubygems/defaults.rb:39: warning: method redefined; discarding old default_path /usr/local/lib/ruby/1.9/rubygems/defaults.rb:46: warning: method redefined; discarding old default_exec_format /usr/local/lib/ruby/1.9/rubygems/defaults.rb:54: warning: method redefined; discarding old default_bindir /usr/local/lib/ruby/1.9/rubygems/defaults.rb:65: warning: method redefined; discarding old default_system_source_cache_dir /usr/local/lib/ruby/1.9/rubygems/defaults.rb:72: warning: method redefined; discarding old default_user_source_cache_dir /usr/local/lib/ruby/1.9/rubygems/defaults.rb:79: warning: method redefined; discarding old ruby_engine /usr/local/lib/ruby/1.9/rubygems.rb:46: warning: method redefined; discarding old gem /usr/local/lib/ruby/1.9/rubygems.rb:306: warning: method redefined; discarding old dir /usr/local/lib/ruby/1.9/rubygems.rb:339: warning: method redefined; discarding old ensure_gem_subdirectories /usr/local/lib/ruby/1.9/rubygems.rb:516: warning: method redefined; discarding old path /usr/local/lib/ruby/1.9/rubygems.rb:554: warning: method redefined; discarding old post_install /usr/local/lib/ruby/1.9/rubygems.rb:563: warning: method redefined; discarding old post_uninstall /usr/local/lib/ruby/1.9/rubygems.rb:571: warning: method redefined; discarding old pre_install /usr/local/lib/ruby/1.9/rubygems.rb:580: warning: method redefined; discarding old pre_uninstall /usr/local/lib/ruby/1.9/rubygems.rb:691: warning: method redefined; discarding old set_home /usr/local/lib/ruby/1.9/rubygems.rb:702: warning: method redefined; discarding old set_paths /usr/local/lib/ruby/gems/1.9/gems/osmlib-export-0.1.4/bin/osmexport:15:in `require': no such file to load -- geo_ruby (LoadError) from /usr/local/lib/ruby/gems/1.9/gems/osmlib-export-0.1.4/bin/osmexport:15:in `' from /usr/local/bin/osmexport:19:in `load' from /usr/local/bin/osmexport:19:in `
' -------------------------------- ?? ?????? 22 ??? 2009 ?., 10:08:22: JT> I just released version 0.1.4 of OSMlib. JT> Changes: JT> * Support for OSM API 0.6 JT> * Support for Ruby 1.9 JT> Jochen From jochen at remote.org Wed May 27 03:07:31 2009 From: jochen at remote.org (Jochen Topf) Date: Wed, 27 May 2009 09:07:31 +0200 Subject: [Osmlib-user] New version 0.1.4 Message-ID: <20090527070731.GA7092@localhost.localdomain> Hi! Are you sure GeoRuby is installed in the right path? Ruby 1.9 uses a different path than 1.8, at least on my system. So if you installed GeoRuby for 1.8, Ruby 1.9 doesn't find it. Jochen -- Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298 From sim at gis-lab.info Wed May 27 14:47:31 2009 From: sim at gis-lab.info (Maxim Dubinin) Date: Wed, 27 May 2009 13:47:31 -0500 Subject: [Osmlib-user] New version 0.1.4 In-Reply-To: <20090527070731.GA7092@localhost.localdomain> References: <20090527070731.GA7092@localhost.localdomain> Message-ID: <162354593.20090527134731@gis-lab.info> Hi, I'm pretty certain about that, here is the path: /usr/local/lib/ruby/gems/1.9/gems/GeoRuby-1.3.4/ We managed to make it work, but only from the lib/geo_ruby folder, seems like there is a problem with rubygems, that fails to find georuby (under 1.9) if run from anywhere but folder containing lib/geo_ruby. If run from a folder that contains lib/geo_ruby - it works as expected, but there are few warnings: **************** /usr/local/lib/ruby/1.9/rubygems/defaults.rb:11: warning: method redefined; discarding old default_sources /usr/local/lib/ruby/1.9/rubygems/defaults.rb:19: warning: method redefined; discarding old default_dir /usr/local/lib/ruby/1.9/rubygems/defaults.rb:31: warning: method redefined; discarding old user_dir **************** Unsure if this is OSMLib problem. Thanks for your help. -- Maxim mailto:sim at gis-lab.info ?? ?????? 27 ??? 2009 ?., 2:07:31: JT> Hi! JT> Are you sure GeoRuby is installed in the right path? Ruby 1.9 uses a JT> different path than 1.8, at least on my system. So if you installed JT> GeoRuby for 1.8, Ruby 1.9 doesn't find it. JT> Jochen From jochen at remote.org Thu May 28 02:53:08 2009 From: jochen at remote.org (Jochen Topf) Date: Thu, 28 May 2009 08:53:08 +0200 Subject: [Osmlib-user] New version 0.1.4 In-Reply-To: <162354593.20090527134731@gis-lab.info> References: <20090527070731.GA7092@localhost.localdomain> <162354593.20090527134731@gis-lab.info> Message-ID: <20090528065308.GA30869@eldorado.topf.org> On Wed, May 27, 2009 at 01:47:31PM -0500, Maxim Dubinin wrote: > I'm pretty certain about that, here is the path: > /usr/local/lib/ruby/gems/1.9/gems/GeoRuby-1.3.4/ > > We managed to make it work, but only from the lib/geo_ruby folder, > seems like there is a problem with rubygems, that fails to find > georuby (under 1.9) if run from anywhere but folder containing lib/geo_ruby. Rubygems is builtin for 1.9 and not a separate thing any more. Maybe it has something to do with that. In any case it should be the job for Ruby or Rubygems to set up the search path properly. So I am pretty sure its not the fault of OSMlib. Jochen -- Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298