• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

About ruby mysql (need help)

Scheduled Pinned Locked Moved Developers' Forum
1 Posts 1 Posters 163 Views
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 18 May 2009, 07:43

    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
    1 / 1
    • First post
      1/1
      Last post
    Buy SketchPlus
    Buy SUbD
    Buy WrapR
    Buy eBook
    Buy Modelur
    Buy Vertex Tools
    Buy SketchCuisine
    Buy FormFonts

    Advertisement