Pik & Bash pik, bash
Use pik with a bash shell
In .bashrc in you $HOME :
# Add the following line to your existing .bashrc
# Note the double quotes on the path next to source
[[ -s $USERPROFILE/.pik/.pikrc ]] && source "$USERPROFILE/.pik/.pikrc"
And in .pyrc file :
#!/bin/sh
# Assuming that Pik is install on the C: drive
pik_path=C:/pik
function pik {
$pik_path/pik_runner.exe pik.sh $@
# Note the double quotes on the path next to source
[[ -s $USERPROFILE/.pik/pik.sh ]] && source "$USERPROFILE/.pik/pik.sh"
unset GEM_HOME
unset GEM_PATH
}
Additional info
- http://stackoverflow.com/questions/4020635/how-can-i-use-pik-for-ruby-in-git-bash-on-windows
- http://saratrice.com/2010/11/11/pik-and-git-bash-on-windows-7/
- https://gist.github.com/techarch/1239600
- https://gist.github.com/mgoggin/5218479
comments powered by Disqus