wayneeseguin/rvm — Issue #758: annoying warnings after upgrading to 1.10.2
Author: gucki
Created: 2012-02-16 08:26:09+00:00
State: open

I recently upraded to rvm 1.10.2 and now I always get the warnings `stdin is not a tty` and `tput: No value for $TERM and no -T specified`. This is really annoying because cronjobs, logrotate, etc. are now sending tons of messages.

I managed to get rid of the `tput: No value for $TERM and no -T specified` by putting `export TERM="xterm"` into `/etc/rvmrc`.

Here's the full output of an example ssh session `ssh root@example.com 'bash -l -c "rvm info"'`:

tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
stdin: is not a tty
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified

ruby-1.9.3-p0:

system:
uname: "Linux example 2.6.32-6-pve #1 SMP Mon Dec 19 06:55:36 CET 2011 x86_64 GNU/Linux"
bash: "/bin/bash => GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)"
zsh: " => not installed"

rvm:
version: "rvm 1.10.2 by Wayne E. Seguin , Michal Papis [https://rvm.beginrescueend.com/]"
updated: "7 days 23 hours 25 minutes 18 seconds ago"

ruby:
interpreter: "ruby"
version: "1.9.3p0"
date: "2011-10-30"
platform: "x86_64-linux"
patchlevel: "2011-10-30 revision 33570"
full_version: "ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]"

homes:
gem: "/usr/local/rvm/gems/ruby-1.9.3-p0"
ruby: "/usr/local/rvm/rubies/ruby-1.9.3-p0"

binaries:
ruby: "/usr/local/rvm/rubies/ruby-1.9.3-p0/bin/ruby"
irb: "/usr/local/rvm/rubies/ruby-1.9.3-p0/bin/irb"
gem: "/usr/local/rvm/rubies/ruby-1.9.3-p0/bin/gem"
rake: "/usr/local/rvm/gems/ruby-1.9.3-p0/bin/rake"

environment:
PATH: "/usr/local/rvm/gems/ruby-1.9.3-p0/bin:/usr/local/rvm/gems/ruby-1.9.3-p0@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
GEM_HOME: "/usr/local/rvm/gems/ruby-1.9.3-p0"
GEM_PATH: "/usr/local/rvm/gems/ruby-1.9.3-p0:/usr/local/rvm/gems/ruby-1.9.3-p0@global"
MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-1.9.3-p0"
IRBRC: "/usr/local/rvm/rubies/ruby-1.9.3-p0/.irbrc"
RUBYOPT: ""
gemset: ""