![]() That is a stand-alone version of Ruby that you installed. In your first message you showed ruby 2.5.5p157 ( revision 67260) It passed all the sqlite3 tests using Ruby versions 2.2 thru 2.6. The 'N' option tells it to not generate rdoc files for the gem. FYI, the 'l' option tells RubyGems that it’s a local operation, it shouldn’t connect to to look for the gem. Again, you should replace “” with the path to wherever the file is located. Once you have that on your system, the line You should replace “” with the path to wherever you unzipped the file.īefore continuing, you need to download the gem file ( sqlite3-1.4.0.mspgreg-圆4-mingw32.gem) from the page listed above. The following command loads this file, which creates a module ( SUGem). ![]() There are few files contained in su_utils.zip, but one of them ( su_gem.rb), allows one to use the RubyGems parameter style used in a normal console with RubyGems in the SU Ruby console. In SketchUp (SU), the ruby console is more like an IRB session, where you can directly type ruby commands into it. RubyGems is designed to be a console application. Row.collect! a better description of what you should be doing & why. # Create database table using worksheet name and # Grab first row of data to use as field names ‘# Connect to a running instance of Excel’ This is the snippet of the code i try to run, but throws error The program of ruby script i just tried to run in eclipse ide, but i am unsucessful. I am trying to connect an sql database using the ruby from sketchup for read and write the data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |