-
Notifications
You must be signed in to change notification settings - Fork 233
Fork chosen rails with specific repository of chosen
Paul Morganthall edited this page Sep 24, 2013
·
5 revisions
You can fork chosen-rails
and replace the assets in vendor
folder by following steps:
- select a specific
chosen
repository and a branch (optional), ex: https://github.com/koenpunt/chosen, branch: option_adding - fork
chosen-rails
in GitHub, and pull to you local box. - build develop environment for your forked
chosen-rails
cd chosen-rails
bundle install
- run update task to update assets from desired
chosen
repository and (optional) branch.
rake update-chosen[https://github.com/koenpunt/chosen,option_adding]
- push your forked
chosen-rails
repository
git add .
git commit -m 'change chosen repository'
git push
- use your own
chosen-rails
in rails project. edit yourGemfile
of rails project.
gem 'chosen-rails', git: 'https://github.com/xxxxxx/chosen-rails.git'
That's all.