Github tries to infer the language of the repository through libraries Linguist. Unfortunately as far as I know there is no automated flow to change the language of a repository.
At the top of the Linguist repository is written:
Language Savant. If your Repository’s language is being reported
incorrectly, send us a pull request!
Then it might be worth sending a pull request to the library staff explaining that this is a Ruby application made with Twitter Bootstrap. Maybe it’s a matter of adding a few more lines to the vendor.yml from this library to remove Javascript-containing directories specific to this framework.
An important point is that vendor.yml already contains a regex to delete bootstrap:
# Bootstrap minified css and js
- (^|/)bootstrap([^.]*)(\.min)?\.(js|css)$
Before sending a pull request it is important to check if the regex is incomplete / with some problem or if you are using a directory structure that escapes from the standard see @utluiz comment. Maybe an alternative is to move scripts to the folder bootstrap
for example.
Another alternative would be to click the "Contact A Human" button from the help screen on repositories marked with the wrong language and see how Github’s people respond.
If none of this works you can still migrate your repository to another service. I particularly migrated all my repositories to Bitbucket. This is an Atlassian service with Git and Mercurial repositories; even, in addition to Open Source repositories, for teams with up to five members private repositories are also free. You can import easily edit your Github repositories and edit the project language in the administrative menu. The main cons for me are the absence of something similar to Gists and the fact that it is a lesser known service (although Github users can log in normally with their accounts), I am still fully satisfied with the change and today I only use Github for eventual contributions to third-party Open Source projects.
If someone sends a specific pull request about a project, I believe they will ask you to tailor their structure to the standards set by them.
– utluiz
Anyway, +1 for citing Bitbucket. I use and recommend it. On Github we cannot have private projects.
– utluiz
utluiz, I don’t know the maintainers, but I will update the answer with this fact :).
– Anthony Accioly