How do I freeze gems into a Rails 3 application?

后端 未结 13 2001
遇见更好的自我
遇见更好的自我 2020-12-08 16:30

I want to freeze a specific gem into my Rails application.

In rails 2 there was this command:

rake gems:unpack

I can\'t find that c

相关标签:
13条回答
  • 2020-12-08 17:37

    You can bundle install on dreamhost without any issues. If you are on shared the environment is already setup to store them locally in your home directory. If you are on a VPS or Dedicated you can run bundle install as root or just add this to your .bash_profile

    export GEM_HOME=$HOME/.gems
    export GEM_PATH=$GEM_HOME:/usr/lib/ruby/gems/1.8
    
    0 讨论(0)
提交回复
热议问题