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 -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Mon, Apr 25, 2011 at 9:35 PM, Josh <josh.m.sharpe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 26 Apr 2011, at 05:35, Josh <josh.m.sharpe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> rails 3.0.7 here. > > ''bundle package'' dumps 29MB into vendor/cache and 129MB into vendor/ > rails.... That seems to arbitrary and unnecessary.That''s odd - the only thing bundle package is supposed to do is dump all the gems used into vendor/cache and setup things so that bundle install installs from there. Not sure why vendor/rails is getting created at all. Vendor/cache will be bigger than an old school vendor/rails since it includes all of your app''s gems and all of their dependencies, not just rails. Fred> 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 > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.