compile Ruby 2.0 errors without rvm or rbenv , `readline.c:1886:26: error: 'Function' undeclared (first use in this function)`
问题 I want to install gitlab, which don't recommend to use any ruby version manager. But This is my OS Linux dqa-dev 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux linking shared-object psych.so installing default psych libraries make[2]: Leaving directory `/home/poc/ruby-2.0.0-p451/ext/psych' make[2]: Entering directory `/home/poc/ruby-2.0.0-p451/ext/pty' compiling pty.c pty.c: In function 'chfunc': pty.c:143:12: warning: ignoring return value of 'seteuid'