RVM, Capistrano and bundler path issues

后端 未结 3 768
清歌不尽
清歌不尽 2021-02-06 07:29

i seem to have a discrepancy between production\'s gem path when I installed manually versus by bundler+capistrano.

After rvm installing ruby 1.9.2 and creating a gems

3条回答
  •  粉色の甜心
    2021-02-06 07:32

    I've encountered similar problems with capistrano/bundler/rvm setups.

    At least in my case, if I run

    bundle exec 
    

    from the capistrano created installation:

    /u/apps//current
    

    I pick up my GEMDIR

    bundle exec env | grep GEM_HOME
    GEM_HOME=/u/apps/app-name/shared/bundle/ruby/1.9.1
    

提交回复
热议问题