how to find the $BUNDLE_PATH for ruby on mac

202 views Asked by At

I'm trying to deploy lita to docker, I'm following the docker-lita guide but I have reached to this command

docker run -d --name lita --link redis --restart always -v $BUNDLE_PATH:/var/bundle -p 80:$LITA_HTTP_PORT $LITA_IMAGE_NAME

but i dont know where the $BUNDLE_PATHis on mac. I'm using rbenv to manage my gems. In the guide it states to "Replace $BUNDLE_PATH with the absolute path to the directory on the host machine where gems should be cached" but I don't know where that is.

1

There are 1 answers

2
Ortomala Lokni On

According to the docker-lita documentation:

Replace $BUNDLE_PATH with the absolute path to the directory on the host machine where gems should be cached.

the $BUNDLE_PATH directory is a cache directory. You can then choose any directory on your host that is empty and that can be written to.