# How to install country\_select plug-in

**URL:** <https://www.ruby-forum.com/t/how-to-install-country-select-plug-in/176152>\
**Category:** Rails\
**Created:** [September 25, 2009, 11:49am UTC](https://www.ruby-forum.com/t/how-to-install-country-select-plug-in/176152 "2009-09-25T11:49:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thriving](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ecae2f/32.png) [@thriving](https://www.ruby-forum.com/u/thriving)\
**Post date:** [September 25, 2009, 11:49am UTC](https://www.ruby-forum.com/t/how-to-install-country-select-plug-in/176152/1 "2009-09-25T11:49:47Z")

</div>

I have downloaded plug-in from.

> **[GitHub - rails/country\_select: NOTICE: official repository moved to...](https://github.com/rails/country_select)**
>
> NOTICE: official repository moved to https://github.com/stefanpenner/country\_select - GitHub - rails/country\_select: NOTICE: official repository moved to https://github.com/stefanpenner/country\_select

but i don’t know how to install it… in file install.rb there is only

# Install hook code here

puts “The list of countries provided by this plugin may offend some  
users. Please review it carefully before you use it”

what is Install hook code ? and how to use it.

Thank in advance  
T.

---

<div class="post-metadata">

**Author:** ![thriving](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ecae2f/32.png) [@thriving](https://www.ruby-forum.com/u/thriving)\
**Post date:** [September 25, 2009, 1:30pm UTC](https://www.ruby-forum.com/t/how-to-install-country-select-plug-in/176152/2 "2009-09-25T13:30:19Z")

</div>

Running the plugin install command from your rails directory should  
work. Run the following command from your CMD. make sure you are in  
your rails directory when running the installation script.

script/plugin install \<git\_path/of/the/plugin\>

should work.

this will download the plugin ad put it in the “/vendor/plugin”  
folder. and as the helper function is defined under lib folder you  
should readily get the method in your views.

let us know it worked or not.  
Thank you 🙂

On Sep 25, 4:49 am, “Thriving K.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![thriving](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ecae2f/32.png) [@thriving](https://www.ruby-forum.com/u/thriving)\
**Post date:** [September 28, 2009, 5:59am UTC](https://www.ruby-forum.com/t/how-to-install-country-select-plug-in/176152/3 "2009-09-28T05:59:52Z")

</div>

It work, Thank you. I am very appreciated
