af prints a newline, then exits (doing nothing) #22

Closed
JasonWoof opened this Issue Nov 19, 2012 · 5 comments

Comments

Projects
None yet
2 participants

Hi,

I'm running debian unstable. I did a git clone git://github.com/appfog/af.git in ~/software/ then hunted around for a bit for build instructions.

Not fining any (and knowing that ruby is an interpreted language) I tried going to my website directory and doing ~/software/af/bin/af login but that just printed a single newline and then quickly exited with zero exit code. Seems to have done nothing (didn't modify the current directory, or create anything in ~/.)

Is something wrong?

Or do I have to do something to build/install af before using it? If so please add instructions to README.md or add INSTALL.md or something.

Thank you. - Jason

Update: I've discovered that:

  • ~/software/af/bin/af help does work (prints lots of help)

And the following just print a blank line and exit:

  • ~/software/af/bin/af target
  • ~/software/af/bin/af target api.appfog.com
  • ~/software/af/bin/af target
  • ~/software/af/bin/af targets
  • ~/software/af/bin/af login
  • ~/software/af/bin/af push

I ran strace ~/software/af/bin/af manifest and found that it was failing to load rest_client, so I installed that. And now it's giving me error messages about missing dependencies that aren't in debian unstable... awesome.

I applaud you for releasing the source to this utility, but relying on bleeding edge versions of libraries that aren't in the major distros yet is bad form.

The security implications of rubyjems are horrifying.

Please at least document how you build this utility.

Hi Jason,

Thank you for your feedback! We do not yet support installing af on Debian using apt-get. After cloning af, you should run bundle install to fetch the dependencies (assuming you have Bundler installed.) I updated the README at https://github.com/jvoorhis/af/blob/doc/installation/README.md and am working to incorporate this into af and our documentation at docs.appfog.com.

Beauty! Thank you.

Glad I could help!

jvoorhis closed this Nov 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment