Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> (heck, why do I need to call 'php composer.phar' instead of 'composer'?)

You can.

http://getcomposer.org/doc/00-intro.md#globally

    $ curl -s http://getcomposer.org/installer | php
    $ sudo mv composer.phar /usr/local/bin/composer
    $ composer --version
      Composer version 6573fd3


right. I could write a short shell wrapper as well - but why do I have to? I don't have to with pip or bundler.


Uh, no. See, those instructions are from the getting started page. Why do you have to? Because, you can install composer just by downloading it and running it. You dont need to "install" it. This is handy on shared hosting environments where you won't have root.

How can I install bundler on a shared hosting environment like composer?


Well, yes. I can install bundler on a shared hosting environment where I don't have root. In fact, pretty much all my installations are non-root installations. Still, I don't have to manually move it around, symlink or shell-wrap it.

It's not a deal-breaker or a major nuisance that I have to do it, it just fits in what I'm used from php: it gets the job done, but feels unpolished.


> Well, yes. I can install bundler on a shared hosting environment where I don't have root.

So what command do you run to get that installed like that?

> it gets the job done, but feels unpolished.

Unpolished like make && make install.


> So what command do you run to get that installed like that?

"gem install --user-install bundler".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: