开发者

Is it possible to use Rails 3 without bundler?

We are deploying our apps as RPM linux packages (with all the dependencies also packaged in RPMs). It turns out that bundler is problematic in this situation and it only complicates our build process - we would like to get rid of it.

Is it possible to run Rails 3 app without i开发者_开发问答t forcing Ruby to use system rubygems? How?


In the book Rails 3 Way there is a statement describing that the easiest way to remove Bundler is to delete Gemfile* files. That's it. It just works.


You could install all gems manually using gem install gemname. In your situation or if you do not have sudo rights it is perhaps recommendable to install the gem files locally in your user directory using

gem install --user-install gemname

You can also install your gems locally with bundler:

bundle install --path ~/.gem 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜