I am trying to use Pow and create a symlink so that I can ultimately run my rails application locally at the following URL:
I am going through the API's on Rails tutorial, and when I follow the author's instructions on setting up Pow and a symlink, here is what is happening:
$ rails new market_place_api -T
$ curl get.pow.cx | sh
$ cd ~/.pow
$ ln -s /path/to/myapp
/Users/harrylevine/Dropbox/Coding/BLOC/code/market_place_api
$ ln -s /Users/harrylevine/Dropbox/Coding/BLOC/code/market_place_api
and I keep getting this error: ln: ./market_place_api: File exists
I have tried many variations of this, including:
ln -s target_path link_path
All to no avail.
How can I properly create this symlink so that I can ultimately run my rails application locally at the following URL:
Thank you.
The error means that there is already a file (or a sym-link) called market_place_api in that directory (~/.pow).
Check with $ ls -l
to see what the file is. If it's the correct sym-link then you are ready to proceed with the tutorial.