I just tried rails
inside a tmux
session in iTerm2
and it returns as
-bash: /usr/bin/rails: /usr/bin/ruby: bad interpreter: No such file or directory
I can run rails
outside of tmux
. I am using Mac OSX. I've installed Ruby via RVM . Here's the output of ruby -v
ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin12.3.0]
and which ruby
/Users/user/.rvm/rubies/ruby-1.9.3-p392/bin/ruby
It's the same output for both inside tmux
and normal bash shell.
Here's my ~/.tmux.conf
set -g default-terminal "screen-256color"
How am I able to run rails
inside the tmux
session?