Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

apiary fails to install in macOS Monterey #213

Open
guruparan18 opened this issue Mar 29, 2022 · 2 comments
Open

apiary fails to install in macOS Monterey #213

guruparan18 opened this issue Mar 29, 2022 · 2 comments

Comments

@guruparan18
Copy link

I used to have a working version of apiary. However, after a recent upgrade of macOS to monterey and Ruby upgrade, it appears the apiary installation steps is now corrupted.

Whenever I run: apiary help I get the following error:

apiary help                                                                                                                                    
/Users/sree/bin/apiary:5:in `<main>': uninitialized constant Apiary::CLI (NameError)

Apiary::CLI.start
      ^^^^^
Did you mean?  CGI

I tried uninstalling and reinstalling apiaryio gems. Building the apiaryio from github branch.

System details:

ruby -v                                                                                                        
ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-darwin21]

Let me know if any more information is needed.

@abtris
Copy link
Contributor

abtris commented Nov 20, 2022

I build a new version on the latest Ventura 13.0.1 (22A400), and it doesn't have an issue.

./bin/apiary help
Commands:
  apiary archive                      # Archive All Your API Description Documents from apiary.io to local files named following [api-project-subdomain.apib] pattern.
  apiary fetch --api-name=API_NAME    # Fetch API Description Document from API_NAME.docs.apiary.io
  apiary help [COMMAND]               # Describe available commands or one specific command
  apiary preview                      # Show API documentation in browser or write it to file
  apiary publish --api-name=API_NAME  # Publish API Description Document on API_NAME.docs.apiary.io (API Description must exist on apiary.io)
  apiary styleguide                   # Check API Description Document against styleguide rules (Apiary.io pro plan is required - https://apiary.io/plans )
  apiary version                      # Show version
ruby -v
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [arm64-darwin20]

Do you still have this issue?

@guruparan18
Copy link
Author

Sorry @abtris. Just saw the response. And yes, the issue still persists in "Ventura 13.2.1". I will retry with ruby 2.7 when I get sometime.

However, as a workaround I am using docker image. And I am happy with that option. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants