Re: [Rails] Rails 3.0 App Deployment
Thanks Fred, I was just looking into the bundler thing, I tried to run
rake rails:freeze:gems
but the reply was that the command is depricated and I should try the
bundler install
command instead. I get what that does and it runs perfectly on my machine, but that's because everything is installed on the normal gems folder,
/usr/lib/ruby/gems/1.8/gems
However, the freezing process was need because it copies these gems to my applications 'vendor ' directory. So when you say
....You can run bundle package to cache them all inside your app, although you probably don't need to do this - in production bundler by default installs a copy of gems private to the app (no root access required)....
I would assume that it means bundler does the same thing of moving my gems to somewhere in the application's directory. So in short my question to you would be: how do I do that?
Thanks for the help.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home