# Put rack folder in vendo folder

**URL:** <https://www.ruby-forum.com/t/put-rack-folder-in-vendo-folder/175690>\
**Category:** Rails\
**Created:** [September 17, 2009, 8:44pm UTC](https://www.ruby-forum.com/t/put-rack-folder-in-vendo-folder/175690 "2009-09-17T20:44:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9de0a6/32.png) [@marcos](https://www.ruby-forum.com/u/marcos)\
**Post date:** [September 17, 2009, 8:44pm UTC](https://www.ruby-forum.com/t/put-rack-folder-in-vendo-folder/175690/1 "2009-09-17T20:44:01Z")

</div>

or in general how to put gems there? I have a patch to apply to “rack/  
methodoverride.rb” but I can’t find it…  
how can I copy rack in vendor and not modify the system wide file?  
the rake gems:unpack or install don’t work…  
thanks

---

<div class="post-metadata">

**Author:** ![marcos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9de0a6/32.png) [@marcos](https://www.ruby-forum.com/u/marcos)\
**Post date:** [September 17, 2009, 10:18pm UTC](https://www.ruby-forum.com/t/put-rack-folder-in-vendo-folder/175690/2 "2009-09-17T22:18:17Z")

</div>

On Thu, Sep 17, 2009 at 11:42 AM, Snaggy [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> or in general how to put gems there? I have a patch to apply to “rack/  
> methodoverride.rb” but I can’t find it…  
> how can I copy rack in vendor and not modify the system wide file?  
> the rake gems:unpack or install don’t work…

? it should, but regardless – just copy the gem’s directory into your  
application’s vendor/gems directory.

–  
Hassan S. ------------------------ removed\_email\_address@domain.invalid  
twitter: @hassan

---

<div class="post-metadata">

**Author:** ![marcos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9de0a6/32.png) [@marcos](https://www.ruby-forum.com/u/marcos)\
**Post date:** [September 18, 2009, 11:09am UTC](https://www.ruby-forum.com/t/put-rack-folder-in-vendo-folder/175690/3 "2009-09-18T11:09:49Z")

</div>

the point is that I wanted to patch rack. I have it installed on the  
server but can’t edit it of course!  
thanks

---

<div class="post-metadata">

**Author:** ![marcos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9de0a6/32.png) [@marcos](https://www.ruby-forum.com/u/marcos)\
**Post date:** [September 18, 2009, 9:36am UTC](https://www.ruby-forum.com/t/put-rack-folder-in-vendo-folder/175690/4 "2009-09-18T09:36:43Z")

</div>

rake gems:unpack:dependencies is the best option here! It ensures all  
of the dependent gems are also installed.

Rack is loaded before the vendor gems are loaded though so if you’re  
trying to run a rails app in an environment that doesn’t have Rack 1.0  
installed you’re going to have issues.

Do you have the option to install gems on the server?

Gavin

> **[Ruby on Rails tips & Tutorials](https://handyrailstips.com/)**
>
> Ruby on Rails tips and tutorials
