简体   繁体   中英

how to find the $BUNDLE_PATH for ruby on mac

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_PATH is 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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM