Last active
August 30, 2015 20:38
-
-
Save vovimayhem/9836288576709adc74fb to your computer and use it in GitHub Desktop.
My first try to a web-based shell script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
DIR_ON_HOST=${PWD} | |
APP_NAME=${PWD##*/} | |
echo $DIR_ON_HOST; | |
echo $APP_NAME; | |
docker run --rm -v $(pwd):/app vovimayhem/app-dev:mri-2.2.3 sh -c "gem install rails --no-rdoc --no-ri && rails new ." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment