9 Comments

  • Bryan - Community Manager
    Comment actions Permalink

    For others following this thread, the environment fix when having issues with 'zat' on native Windows can be found here:

    https://support.zendesk.com/hc/en-us/articles/360000520468-zat-error-OpenSSL-SSL-SSLError-on-Windows

    For those who are on Windows 10 and looking for more flexibility, check out the KB article Prep for app developers. It shows how to set up Zendesk Apps Tools (ZAT) using Windows Subsystem for Linux (WSL). It gets around these issues, still lets you maintain your overall Windows environment, and lets you use things like 'rbenv'.

    0
  • Eric Cogan
    Comment actions Permalink

    For anyone using Ubuntu for Windows 10 and having issues building the native extension, I'd recommend following the setup instructions from the Jekyll website https://jekyllrb.com/docs/installation/windows/#installation-via-bash-on-windows-10.

    Obviously substitute the last step where you'd install jekyll and instead install the zendesk_apps_tools.

    0
  • Max Völkel
    Comment actions Permalink

    I could install Ruby 2.7 easily on WIndows 10 via Chocolatey  https://chocolatey.org/

    0
  • Michael Chen
    Comment actions Permalink

    SOLVED for ZAT not displaying in zendesk even though installed correctly: 

    I was able to install zendesk_app_tools correctly (after following Jason Humphrey's comments https://develop.zendesk.com/hc/en-us/articles/360001075048/comments/360001647334 and was able to start the server correctly; however the app was frustratingly not showing up. 

    I finally figured out I had the wrong zendesk account, I was testing on a paid lite version, you need to have an enterprise version or a Sponsored Enterprise version, here: https://develop.zendesk.com/hc/en-us/articles/360001075048/comments/360001647334 

    0
  • George Campbell
    Comment actions Permalink

    Solved; on Ubuntu 18.04 for Windows after running `gem install zendesk_apps_tools` it gave the error:

    Error installing zendesk_apps_tools:
    ERROR: Failed to build gem native extension.
    mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

    And the solution for me was to run:

    `sudo apt-get install ruby-dev`

    And try again. This solved the issue for me.

    0
  • Andrew Attard
    Comment actions Permalink

    Confirming that George Campbell's solution worked for me as well.

    0
  • Josh Medeski
    Comment actions Permalink

    I am macOS Catalina 10.15.7 and have the xcode installed 12.1 (including the CLI tools) and I still get the following error:

    ERROR: Error installing zendesk_apps_tools:
    ERROR: Failed to build gem native extension.

    current directory: /usr/local/lib/ruby/gems/2.7.0/gems/thin-1.7.2/ext/thin_parser

    0
  • Bryan - Community Manager
    Comment actions Permalink

    Josh Medeski — check out this other community link:

    https://develop.zendesk.com/hc/en-us/community/posts/360051859693/comments/360013269194

    Theres a stricter compile-time check with the newer version of Xcode that kicks in on this particular Ruby gem (i.e. thin).

    The workaround is to explicitly compile thin and turn off the check triggering this compile-time error.

    0
  • Hemmachat Paramabuddhi
    Comment actions Permalink

    OK, after struggling to find how to make the ZAT tool to work on my machine, I found a proven way to make it to work on Windows 10 using WSL Ubuntu 20.04.1 LTS with Ruby 2.7.0 as of 17/02/2021. Here are the steps you need to follow:

    1. Open your Ubuntu Bash shell and update the list of the packages:
    $ sudo apt-get update

    2. Install the necessary packages:
    $ sudo apt-get install -y ruby ruby-dev build-essential dh-autoreconf zlib1g-dev nodejs

    3. Install rake:
    $ sudo gem install rake

    4. Install ZAT:
    $ sudo gem install zendesk_apps_tools

    Finally, you should have a working ZAT ready with some warnings but the main functionalities are good.

    0

Please sign in to leave a comment.

Powered by Zendesk