Forum: Ruby ruby modules - for opensuse - where do i get them

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
600fc90e36ff81dfaba666708cf91dc5?d=identicon&s=25 Dil Bert (lin)
on 2014-06-29 14:26
hello dear ruby experts


run opensuse with version 13.1

where do i get the following ruby modules / ingedients to run this
programme....


require 'open-uri'
require "net/http"
require 'rexml/document'

def query_overpass(object_type, left,bottom,right,top, key, value)
   base_url = "http://www.overpass-api.de/api/xapi?"
   query_string =
"#{object_type}[bbox=#{left},#{bottom},#{right},#{top}][#{key}=#{value}]"
   url = "#{base_url}#{URI.encode(query_string)}"
   resp = Net::HTTP.get_response(URI.parse(url))
   data = resp.body
   return data and so on and so forth

do i find them in a repo or should i install it with / trough the
software-installation-programme...

love to hear from you
This topic is locked and can not be replied to.