deploying rails3 apps with bundler and phusion passenger: .bundle dir not found

后端 未结 6 1668
轻奢々
轻奢々 2020-12-14 12:11

i am trying to deploy rails3 apps with the latest phusion passenger 2.2.11 and ruby-enterprise-1.8.7-2010.01. i am using bundler, but passenger seems to not be able to find

6条回答
  •  感情败类
    2020-12-14 12:39

    What did helped me exactly on: 1. CentOS 6.x 64bit 2. Bitnami stack bundle with spree 1.3.1

    cd SPREE_APP_ROOT_AKA_RAILS_ROOT
    /opt/spree-1.3.1-0/ruby/bin/bundle install
    

    As a result gem appeared in the root. But it's not good. It should go to vendor/cache and other underlying folders.

    The I run:

    /opt/spree-1.3.1-0/ruby/bin/bundle package --all 
    

    Option --all is for packaging "git" gems.

    Restart passenger and go on:)

提交回复
热议问题