Agnus Dei (jackal) wrote,
Agnus Dei
jackal

proof that Ruby is evil and should never be used !

On a NORMAL SYSTEM :

ballison@ubuntu:~$ type cd
cd is a shell builtin

SYSTEM WITH RUBY INSTALLED:

[root@pbd /tmp] type cd
cd is a function
cd ()
{
if builtin cd "$@"; then
[[ -n "${rvm_current_rvmrc:-}" && "$*" == "." ]] && rvm_current_rvmrc="" || true;
__rvm_do_with_env_before;
__rvm_project_rvmrc;
__rvm_after_cd;
__rvm_do_with_env_after;
return 0;
else
return $?;
fi
}

So Ruby is doing bad things to the cd command.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments