sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    About ruby mysql (need help)

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 175 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