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
Show hidden characters
{ | |
"selector": "source.ruby", | |
"path": "$HOME/.rbenv/shims:$PATH", | |
"file_regex": "^(.*):([\\d]+):(.*) (.*)$", | |
"variants": [ | |
{ | |
"cmd": ["ruby", "-wv", "$file"], | |
"name": "Run" | |
}, | |
{ |
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 | |
# | |
# Local Ruby with rbenv and ruby-build | |
## Update apt | |
sudo apt-get -y update | |
## Install git and curl | |
echo " ### INSTALLING GIT AND CURL ###" | |
sudo apt-get install -y git curl |
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
# Docked Rails | |
# Building: | |
# docker build -t docked-rails . | |
# Preparation: | |
# docker volume create ruby-bundle-cache | |
# alias docked='docker run --rm -it -v ${PWD}:/rails -u $(id -u):$(id -g) -v ruby-bundle-cache:/bundle -p 3030:3030 docked-rails' | |
# Usage: |
OlderNewer