Giter Site home page Giter Site logo

Comments (6)

malnick avatar malnick commented on August 23, 2024

Same here, installed via gem and 'gitlab project add' I get 'command add not found.

from gitlab-cli.

malnick avatar malnick commented on August 23, 2024

I also installed via clone and rake and had the same outcome.

from gitlab-cli.

TheConnMan avatar TheConnMan commented on August 23, 2024

Clone and rake just worked for me on Ubuntu 14.04 for anyone in the future who runs into this problem.

from gitlab-cli.

34r7h avatar 34r7h commented on August 23, 2024

OSX 11,

$ gitlab project help add
Could not find command "add".

from gitlab-cli.

myoung34 avatar myoung34 commented on August 23, 2024

I think the gem is failing to put it in PATH.
In cygwin (ruby is native, not via RVM, etc) here's what I did:

Marc-win8:gitlab-cli $ gitlab --version
-bash: gitlab: command not found
Marc-win8:gitlab-cli $ find ~ -name 'gitlab'
/c/Users/myoung/.gem/ruby/gems/gitlab-3.4.0/bin/gitlab
/c/Users/myoung/.gem/ruby/gems/gitlab-3.4.0/lib/gitlab
/c/Users/myoung/.gem/ruby/gems/gitlab-3.4.0/spec/gitlab
Marc-win8:gitlab-cli $ /c/Users/myoung/.gem/ruby/gems/gitlab-3.4.0/bin/gitlab --version
Gitlab Ruby Gem 3.4.0
Marc-win8:gitlab-cli $ ln -s /c/Users/myoung/.gem/ruby/gems/gitlab-3.4.0/bin/gitlab /usr/bin/gitlab
Marc-win8:gitlab-cli $ gitlab --version
Gitlab Ruby Gem 3.4.0

OS X, etc would be similar. To make this a permanent fix you'd want to put something in your ~/.bash_profile file, although I would not recommend linking to that version gem. If you update your gem, then you woulnd't be using the updated version.

Perhaps a real fix should be made, but this might at least get you guys started.

from gitlab-cli.

WeiTang114 avatar WeiTang114 commented on August 23, 2024

Same here
gitlab project add .. says "Could not find comand "add"."
on Ubuntu 14.04, installed with gem, version 2.0.0

from gitlab-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.