aboutsummaryrefslogtreecommitdiffstats
path: root/hyperterm/tools/ruby.sh
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-02-10 13:52:52 -0500
committerJesús <heckyel@hyperbola.info>2021-02-10 13:52:52 -0500
commit7e95c3b667a1b353f8275db886203f272bfcce34 (patch)
treeaefe3b7db69ac78b83b79a70cf43401679812d20 /hyperterm/tools/ruby.sh
downloadhyperterm-7e95c3b667a1b353f8275db886203f272bfcce34.tar.lz
hyperterm-7e95c3b667a1b353f8275db886203f272bfcce34.tar.xz
hyperterm-7e95c3b667a1b353f8275db886203f272bfcce34.zip
first commit
Diffstat (limited to 'hyperterm/tools/ruby.sh')
-rw-r--r--hyperterm/tools/ruby.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/hyperterm/tools/ruby.sh b/hyperterm/tools/ruby.sh
new file mode 100644
index 0000000..d1b255d
--- /dev/null
+++ b/hyperterm/tools/ruby.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+if [ -x /usr/bin/ruby ]; then
+ # Variable de Entorno para Sass
+ # Sass
+ _ruby="$(ruby -r rubygems -e "puts Gem.user_dir")/bin"
+ if [ -s "$_ruby" ]; then
+ export PATH+=:$_ruby
+ fi
+fi