Rubyinput您的密码来创build应用程序

我刚刚在CentOS服务器上的rails上安装了ruby,使用directadmin :http: //blog.ilwilliams.net/installing-rails-3-with-apache-on-centos/

我现在在一个非特权用户帐户(没有sudo),并试图创build一个应用程序使用rails new personal

但是,这下面做

  create vendor/assets/stylesheets create vendor/assets/stylesheets/.gitkeep create vendor/plugins create vendor/plugins/.gitkeep run bundle install Enter your password to install the bundled RubyGems to your system: Sorry, try again. Enter your password to install the bundled RubyGems to your system: joe is not in the sudoers file. This incident will be reported. 

有没有办法让用户创build应用程序和使用ruby,而不必以root身份login或使用sudo,我相信问题是发生轨道试图安装应用程序的服务器gem文件夹,而不是一次用户?

任何想法非常感谢,感谢您的时间。

是的,你应该在他们的账户上安装RVM。

然后使用RVM来安装rails,它使用bundle的gem。