在linux redhat中从源代码安装ruby-1.9.3后找不到GEM命令

时间:2014-02-26 13:08:33

标签: ruby-on-rails ruby rubygems gem

我尝试从源码ruby-1.9.3-p0.tar.gz

安装ruby

这些是遵循的步骤 wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz tar xzvf ruby​​-1.9.3-p0.tar.gz

cd ruby​​-1.9.3-p0 $ ./configure --prefix = / scratch / $ user / RUBY --enable-shared --disable-install-doc --with-opt-dir = / scratch / $用户/ RUBY / lib中 $ make $ make install

安装顺利,但是当我运行gem install bundler时,它说 未找到gem命令

如何找到安装它的gem PATH或我的gem安装在哪里?

这个红宝石版本有宝石吗?请找到此链接https://gist.github.com/deone/7527595 ,可用于运行gem install bundler

请建议解决方案

0 个答案:

没有答案