sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    About ruby mysql (need help)

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 163 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      NewOne
      last edited by

      Hello! After some searching I found a ruby-mysql module. At first I used mysql.so http://rubylearning.com/blog/2007/05/14/ruby-mysql-tutorial/, but it seems that it have some errors and things don't go as smooth as should be: I've got server time out errors and sketchup was freezing. Finally I have decided to use Ruby DBI Module http://www.kitebird.com/articles/ruby-dbi.html.
      Using the first option (mysql.so) in sketchup was easy. I figured out what directory to copy in Plugins folder and how to make the requirements. Now, for dbi is not so simple... I really don't know how to integrate it in sketchup's ruby interpreter.

      Please if somebody can give me a hint it would be much than appreciated.

      P.S.
      To install Ruby DBI Module download the appropriate ruby-dbi (database interface - this is the same for all database types) and ruby-dbd (database driver - this specific for each database type), then run ruby setup.rb for each one.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement