docs/faq.md in mina-1.0.7 vs docs/faq.md in mina-1.1.0

- old
+ new

@@ -1,20 +1,28 @@ -Frequently Asked Questions --------------------- +# Frequently Asked Questions ## - `command not found: bundle` You need to setup your server correctly [getting started](getting_started.md#step-0-configure-server), then install bundler. gem install bundler -## - ruby version not found, but is already installed +## - `my_program` not found, but is already installed Mina is running in a non-interactive ssh mode. That means that your full profile will not be loaded: ![ssh](http://capistranorb.com/images/BashStartupFiles1.png) -if you setup your server correctly and you are using a ruby environment manager please ensure that: - - you are using a mina plugin for that manager or - - the lines that load up your manager are at the top of your .bashrc file: http://stackoverflow.com/a/216204/1339894 +There is a line at the top in most `.bashrc` files: +``` +# If not running interactively, don't do anything +case $- in + *i*) ;; + *) return;; +esac +``` +this means that all lines below this will not be executed when using mina. + +The easiest way to fix this is to move all your `export` and `source` lines to the top of your `.bashrc` file. +More info at: http://stackoverflow.com/a/216204/1339894 ## - Mina hangs after i type my password in Mina assumes that you have set up the communication with your server through the public/private keys, not password. If you want to use the password you will have to change the execution mode: