ruby-modules - where do i get them - for opensuse 13.1

Einfach Dinge, die nichts mit XAMPP, Apache Friends, Apache, MySQL, PHP und alle dem zu tun haben. Allerlei halt. ;)

ruby-modules - where do i get them - for opensuse 13.1

Postby unleash » 29. June 2014 13:23

hello dear Apache experts

well i love xampp and all that things - but today i have another quesiton

run opensuse with version 13.1

where do i get the following ruby modules / ingedients to run this programme....
Code: Select all

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
unleash
 
Posts: 141
Joined: 03. December 2011 10:16
Operating System: OpenSuse Linux 12.1

Return to Allerlei

Who is online

Users browsing this forum: No registered users and 1 guest