oreillymedia / atlas-cli

A command line for building and publishing (HTML only) Atlas projects
http://oreillymedia.github.io/atlas-cli/
36 stars 6 forks source link

unable to do much of anything #4

Open boneskull opened 9 years ago

boneskull commented 9 years ago
$ atlas login
/usr/local/lib/ruby/gems/2.2.0/gems/atlas-api-0.1.0/bin/atlas:9:in `<top (required)>': Please use 'atlas build' to run this script (RuntimeError)
    from /usr/local/bin/atlas:23:in `load'
    from /usr/local/bin/atlas:23:in `<main>'
$ atlas build
Building ...
/usr/local/lib/ruby/gems/2.2.0/gems/atlas-api-0.1.0/lib/atlas-api/client.rb:23:in `build_and_poll': undefined method `find' for nil:NilClass (NoMethodError)
    from /usr/local/lib/ruby/gems/2.2.0/gems/atlas-api-0.1.0/bin/atlas:32:in `<top (required)>'
    from /usr/local/bin/atlas:23:in `load'
    from /usr/local/bin/atlas:23:in `<main>'
boneskull commented 9 years ago

atlas --help gives me the first result as well

odewahn commented 9 years ago

Hi, Christopher. You might want to give this version a try:

http://oreillymedia.github.io/atlas-cli/

It doesn't depend on your ruby environment.

Andrew

On Fri, Aug 28, 2015 at 7:16 PM, Christopher Hiller < notifications@github.com> wrote:

atlas --help gives me the first result as well

— Reply to this email directly or view it on GitHub https://github.com/oreillymedia/atlas-cli/issues/4#issuecomment-135909287 .

odewahn commented 9 years ago

Oh, I just noticed -- you probably have the older version (the gem-based one) installed. You should use gem uninstall to remove it, and then make sure that the new atlas-cli is on your path.