[Rails] Re: rails engine - vendor/bundle and vendor/cache
Found the solution. This explanation may not be 100% accurate.
Bundle remembers how it was first executed in the directory '.bundle'. Subsequent executions use this information. 'bundle install' puts the gems in the vendor/bundle directory. 'bundle package' puts the gems in the vendor/cache directory.
Apparently in the first engine I ran 'bundle package' first and in the second I ran 'bundle install' first. To fix the problem, I deleted the vendor/bundle, vendor/cache, and .bundle directories and then ran 'bundle package', recreating the vendor/cache directory but not the vendor/bundle directory.
-- Bundle remembers how it was first executed in the directory '.bundle'. Subsequent executions use this information. 'bundle install' puts the gems in the vendor/bundle directory. 'bundle package' puts the gems in the vendor/cache directory.
Apparently in the first engine I ran 'bundle package' first and in the second I ran 'bundle install' first. To fix the problem, I deleted the vendor/bundle, vendor/cache, and .bundle directories and then ran 'bundle package', recreating the vendor/cache directory but not the vendor/bundle directory.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/78481cfa-4916-49e0-97d7-7a44fafb51d8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home