On Mon, Apr 25, 2011 at 9:35 PM, Josh <josh.m.sha...@gmail.com> wrote:

> rails 3.0.7 here.
>
> 'bundle package' dumps 29MB into vendor/cache and 129MB into vendor/
> rails.... That seems to arbitrary and unnecessary.  How do I install
> rails to vendor/rails these days?  'rake rails:freeze:gems' used to
> work great, now what?
>
> Tried this:
> Gemfile:
> gem 'rails', '3.0.7', :path => 'vendor/rails'
> $ bundle install
>
> ... still dumps 129MB into vendor/rails AND 'rails console' doesn't
> even work:
>
> $ rails console
> script/rails:6:in `require': no such file to load -- rails/commands
> (LoadError)
>        from script/rails:6
>
>
Hi, you simply need to do the following:

bundle install --path vendor/rails

Also, here's a good post on the subject:

http://ryan.mcgeary.org/2011/02/09/vendor-everything-still-applies

Last but not least, you can read more about bundler here:

http://gembundler.com

Good luck,

-Conrad


> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to