如何在ubuntu上找到ruby和bundle的安装路径?

时间:2022-12-03 10:23:36

I installed ruby 1.9.3 on ubuntu 10.04 server. There is problem with capistrano to find the bundle. How to find the path for the ruby dir and where is bundle located? There are /.rvm/gems/ruby-1.9.3-p125 and /.rvm/gems/ruby-1.9.3-p125@global. There are bundles in multiple subdirs under /.rvm/.

我在ubuntu 10.04服务器上安装了ruby 1.9.3。找到捆绑包有capistrano的问题。如何找到ruby目录的路径以及bundle位于何处?有/.rvm/gems/ruby-1.9.3-p125和/.rvm/gems/ruby-1.9.3-p125@global。 /.rvm/下的多个子目录中有捆绑包。

Thanks so much.

非常感谢。

1 个解决方案

#1


14  

which bundle to find where bundler binary is located

哪个bundle找到bundler二进制文件所在的位置

If you need to run Capistrano in the context of current bundle, run bundle exec cap

如果需要在当前bundle的上下文中运行Capistrano,请运行bundle exec cap

#1


14  

which bundle to find where bundler binary is located

哪个bundle找到bundler二进制文件所在的位置

If you need to run Capistrano in the context of current bundle, run bundle exec cap

如果需要在当前bundle的上下文中运行Capistrano,请运行bundle exec cap