
Now I tried executing the JSON gem again using the command gem install json. Installing C:/Ruby192/lib/ruby/site_ruby/devkit.rb RubyGems override already in place for C:/Ruby192, skipping. I got the message that devkit functionality will be injected into the rubies when you run "ruby dk.rb install" ruby dk.rb install This is the line at the bottom of the config.yaml file "- C:/Ruby192" ruby dk.rb review ruby dk.rb initĪfter the above command is executed, I verified that config.yaml is generated and it has the path for my ruby folder added automatically. And then from the command prompt, I executed the following commands. Please update your PATH to include build tools or download the DevKit The 'json' native gem requires installed build tools. Now I tried to install the JSON gem using the command, "gem install json" and got the following error. Note: macOS already has Ruby pre-installed, as the OS has a dependency.I have ruby 1.9.2p180 () installed on my windows 7 machine. > sudo apt-get -assume-yes install freetds-dev freetds-bin

Install Ruby Version Manager ( rvm) and prerequisitesįor example, install version 2.3.0 of Ruby:Įnsure that the output of the last command indicates you are running version 2.3.0. Click "OK", and then "Extract", to extract the files. You will probably need to create this folder first by clicking "Make New Folder".Ĭ. Click the "." button, and select "C:\DevKit". You will be asked where to extract the files.ī. rbw files with this Ruby installation.ĭownload DevKit from the RubyInstaller pageĪ. On the install settings screen, select the check boxes next to both Add Ruby executables to your PATH and associate. Select your language, and agree to the terms.Ĭ. Double-click the file to start the installer.ī.

For example if you are on a 64-bit machine, download the Ruby 2.1.6 (圆4) installer.Ī. Go the Ruby download page and download the appropriate 2.1.x installer. For new ruby users, we recommend you use Ruby 2.2.X installers, which provide a stable language and an extensive list of packages (gems) that are compatible and updated. If your machine does not have Ruby, install it. The Ruby Driver uses the TDS protocol, which is enabled by default in SQL Server and Azure SQL Database.

You will need to configure your development environment with the prerequisites in order to develop an application using the Ruby Driver for SQL Server.
