bin/lazar-start.sh in lazar-gui-1.4.0 vs bin/lazar-start.sh in lazar-gui-1.4.1
- old
+ new
@@ -1,9 +1,10 @@
#!/bin/bash
sudo mongod &
R CMD Rserve --vanilla &
-LAZARPATH=$(gem path lazar-gui)
-cd $LAZARPATH
-cd $(gem which "lazar-gui"|sed 's#/lib/lazar-gui.rb/##')
+#LAZARPATH=$(gem path lazar-gui)
+#cd $LAZARPATH
+#cd $(gem which "lazar-gui"|sed 's#/lib/lazar-gui.rb/##')
+cd `ls -d $(gem environment gemdir)/gems/lazar-gui-*`
unicorn -c unicorn.rb -E production
exit 0