Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to find installed path for ruby and bundle on ubuntu?

Tags:

ruby

bundle

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/.

Thanks so much.

like image 362
user938363 Avatar asked Mar 02 '12 03:03

user938363


1 Answers

which bundle to find where bundler binary is located

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

like image 128
p0deje Avatar answered Oct 13 '22 10:10

p0deje