# Virtual domain plugin patching

**URL:** <https://www.ruby-forum.com/t/virtual-domain-plugin-patching/68322>\
**Category:** Radiant CMS\
**Created:** [September 11, 2006, 6:36pm UTC](https://www.ruby-forum.com/t/virtual-domain-plugin-patching/68322 "2006-09-11T18:36:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pezdude](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a87d85/32.png) [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Post date:** [September 11, 2006, 6:36pm UTC](https://www.ruby-forum.com/t/virtual-domain-plugin-patching/68322/1 "2006-09-11T18:36:42Z")

</div>

Hi,

Following the instructions on  
[http://theplant.jp/blog/2006/07/27/radiant-virtual-domain-plugin](http://theplant.jp/blog/2006/07/27/radiant-virtual-domain-plugin) I  
have a problem with the patching stage:

## $ patch -p0 \< vendor/plugins/virtual\_domain/virtual\_domain.patch can’t find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was:

|Index: app/controllers/site\_controller.rb  
|===================================================================  
|— app/controllers/site\_controller.rb (revision 87)

| +++ app/controllers/site\_controller.rb (working copy) |
| --- |
| File to patch: |
| ukktug@denzil [~/radiant]# |

I’ve search the radiant directory for site\_controller.rb but can’t see  
it. Does it apply to rails?

–  
Regards,  
Dave
