readlink -e in ./script/server doesn't work on osx
running ./script/server on os x creates the following output:
readlink: illegal option -- e usage: readlink [-n] [file ...] usage: dirname path INFO: config/script_server_config.yml has been renamed to config/script_server.yml FATAL: config/script_server.yml is missing! Copy over config/script_server.yml.example to config/script_server.yml and edit it properly!
apparently, readlink acts funny on osx, and it doesn't think -e is an option. foreman start works fine, so i know everything's set up and dandy.
Its not that readlink "acts funny" on OSX. OSX includes the BSD version of readlink, Linux includes the GNU version. GNU utilities do not necessarily have the same options as BSD or other traditional Unix utilities, and frequently GNU versions have additional options.
I reported the behaviour on Sep 14 at http://getsatisfaction.com/diaspora/topics/script_server_wont_run_on_mac_osx_readlink_e
ah got it. thanks! i'll look into readlink version detection, and how to mimic the behavior we want on OS X
that said, foreman start looks like it works just fine, so this isn't much of a blocker.
Sorry, what is the solution on this?
@SaraJo you can use foreman start instead of using script/server.
I'm going to close this issue - I think we probably won't fix script/server to work on OSX. It's meant for running a small pod in production.
Can it go in a wiki somewhere? On Jan 11, 2012 9:05 PM, "Sarah Mei" < [email protected]> wrote:
@SaraJo you can use
foreman startinstead of usingscript/server.I'm going to close this issue - I think we probably won't fix script/server to work on OSX. It's meant for running a small pod in production.
Reply to this email directly or view it on GitHub: https://github.com/diaspora/diaspora/issues/2020#issuecomment-3458496
Or how about in the code? :)