DevKit for Native Gems

Levi Wilson's Avatar

Levi Wilson

20 Feb, 2014 06:00 PM

About My Project

It is a ruby gem for doing test automation on Windows.

Problem

Just getting started with using AppVeyor. I'm just playing around with my install script and it looks like this:

gem install bundler
bundle

My gemset uses some native gems, and I do not believe that the DevKit has been installed.

Output

Running Install scripts
gem install bundler
Successfully installed bundler-1.5.3
1 gem installed
Installing ri documentation for bundler-1.5.3...
Installing RDoc documentation for bundler-1.5.3...
bundle
Fetching gem metadata from http://rubygems.org/.........
Fetching additional metadata from http://rubygems.org/..
Resolving dependencies...
Installing rake (10.1.1)
Installing builder (3.2.2)
Installing timers (1.1.0)
Installing celluloid (0.15.2)

Gem::InstallError: The 'nio4r' native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
An error occurred while installing nio4r (1.0.0), and Bundler cannot continue.
Make sure that `gem install nio4r -v '1.0.0'` succeeds before bundling.
Command exited with code 5
  1. Support Staff 1 Posted by Feodor Fitsner on 20 Feb, 2014 06:06 PM

    Feodor Fitsner's Avatar

    Hi Levi,

    I'm going to install DevKit for Ruby 1.9.3 to AppVeyor 2.0 build images.

    Let me know if you need anything else.

  2. 2 Posted by Levi Wilson on 20 Feb, 2014 06:10 PM

    Levi Wilson's Avatar

    Thanks!

    My specs would require an interactive desktop session. Would this be a possibility?

    This library uses Microsoft UI Automation for verification and I believe that is a requirement.

    I can start another thread if you'd like, as this is off-topic.

  3. Support Staff 3 Posted by Feodor Fitsner on 20 Feb, 2014 06:33 PM

    Feodor Fitsner's Avatar

    Well, that's interesting - you should give it a try. At the moment Build Agent is running under "appveyor" account which I believe has interactive logon rights.

    Btw, DevKit has been installed on build VM images.

  4. 4 Posted by Souhail RAZZOUK on 01 Apr, 2014 05:54 PM

    Souhail RAZZOUK's Avatar

    Hi people,
    I have the exact same output on windows, I want to install guard-livereload and it says:
    Gem::InstallError: The 'nio4r' native gem requires installed build tools.


    Please update your PATH to include build tools or download the DevKit
    from 'http://rubyinstaller.org/downloads' and follow the instructions
    at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
    An error occurred while installing nio4r (1.0.0), and Bundler cannot continue.
    Make sure that gem install nio4r -v '1.0.0' succeeds before bundling.


    so any solutions ?? Thanks in advance

  5. Support Staff 5 Posted by Feodor Fitsner on 01 Apr, 2014 07:37 PM

    Feodor Fitsner's Avatar

    Well, I followed the instructions here: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit and when I do tests from #5 I get expected results. See attached screenshot from master build server.

    Maybe there is problem with that nio4r package? Please let me know what I'm missing.

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:38 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM
20 Sep, 2024 05:50 PM