bundler 1.14.6 → 1.15.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bundler might be problematic. Click here for more details.
- checksums.yaml +5 -5
- data/.rubocop.yml +1 -1
- data/.rubocop_todo.yml +131 -43
- data/.travis.yml +5 -5
- data/CHANGELOG.md +52 -8
- data/CONTRIBUTING.md +10 -29
- data/README.md +13 -6
- data/Rakefile +4 -2
- data/bin/rubocop +1 -1
- data/doc/README.md +30 -0
- data/doc/TROUBLESHOOTING.md +64 -0
- data/doc/contributing/BUG_TRIAGE.md +36 -0
- data/doc/contributing/COMMUNITY.md +13 -0
- data/doc/contributing/GETTING_HELP.md +11 -0
- data/doc/contributing/HOW_YOU_CAN_HELP.md +27 -0
- data/doc/contributing/ISSUES.md +51 -0
- data/doc/contributing/README.md +38 -0
- data/doc/development/NEW_FEATURES.md +10 -0
- data/doc/development/PULL_REQUESTS.md +40 -0
- data/doc/development/README.md +19 -0
- data/doc/development/RELEASING.md +9 -0
- data/doc/development/SETUP.md +29 -0
- data/doc/documentation/README.md +29 -0
- data/doc/documentation/VISION.md +26 -0
- data/doc/documentation/WRITING.md +54 -0
- data/exe/bundle +4 -1
- data/lib/bundler.rb +20 -13
- data/lib/bundler/cli.rb +67 -3
- data/lib/bundler/cli/add.rb +26 -0
- data/lib/bundler/cli/config.rb +24 -6
- data/lib/bundler/cli/gem.rb +13 -8
- data/lib/bundler/cli/info.rb +51 -0
- data/lib/bundler/cli/inject.rb +8 -2
- data/lib/bundler/cli/install.rb +1 -1
- data/lib/bundler/cli/issue.rb +40 -0
- data/lib/bundler/cli/outdated.rb +16 -18
- data/lib/bundler/cli/pristine.rb +33 -0
- data/lib/bundler/cli/viz.rb +1 -1
- data/lib/bundler/definition.rb +64 -48
- data/lib/bundler/dsl.rb +6 -0
- data/lib/bundler/endpoint_specification.rb +3 -9
- data/lib/bundler/env.rb +3 -3
- data/lib/bundler/errors.rb +1 -1
- data/lib/bundler/fetcher/downloader.rb +3 -2
- data/lib/bundler/gem_helper.rb +5 -0
- data/lib/bundler/index.rb +9 -3
- data/lib/bundler/injector.rb +32 -11
- data/lib/bundler/installer.rb +1 -1
- data/lib/bundler/installer/parallel_installer.rb +15 -1
- data/lib/bundler/lazy_specification.rb +6 -0
- data/lib/bundler/lockfile_parser.rb +42 -34
- data/lib/bundler/mirror.rb +2 -0
- data/lib/bundler/plugin.rb +5 -1
- data/lib/bundler/plugin/api/source.rb +1 -1
- data/lib/bundler/plugin/index.rb +2 -0
- data/lib/bundler/remote_specification.rb +16 -7
- data/lib/bundler/resolver.rb +13 -3
- data/lib/bundler/rubygems_ext.rb +8 -3
- data/lib/bundler/rubygems_integration.rb +85 -36
- data/lib/bundler/runtime.rb +4 -1
- data/lib/bundler/settings.rb +2 -1
- data/lib/bundler/setup.rb +1 -1
- data/lib/bundler/shared_helpers.rb +26 -1
- data/lib/bundler/source.rb +17 -1
- data/lib/bundler/source/git.rb +16 -0
- data/lib/bundler/source/path.rb +13 -3
- data/lib/bundler/source/path/installer.rb +2 -2
- data/lib/bundler/source/rubygems.rb +5 -2
- data/lib/bundler/spec_set.rb +22 -13
- data/lib/bundler/stub_specification.rb +64 -2
- data/lib/bundler/templates/Executable +1 -1
- data/lib/bundler/templates/Executable.standalone +5 -5
- data/lib/bundler/templates/newgem/Gemfile.tt +2 -2
- data/lib/bundler/templates/newgem/LICENSE.txt.tt +1 -1
- data/lib/bundler/templates/newgem/README.md.tt +12 -6
- data/lib/bundler/templates/newgem/Rakefile.tt +5 -5
- data/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +4 -4
- data/lib/bundler/templates/newgem/ext/newgem/newgem.h.tt +3 -3
- data/lib/bundler/templates/newgem/lib/newgem.rb.tt +6 -6
- data/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +4 -4
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +9 -9
- data/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +3 -0
- data/lib/bundler/templates/newgem/test/newgem_test.rb.tt +1 -1
- data/lib/bundler/templates/newgem/test/test_helper.rb.tt +3 -3
- data/lib/bundler/ui/shell.rb +9 -6
- data/lib/bundler/vendor/thor/lib/thor.rb +31 -23
- data/lib/bundler/vendor/thor/lib/thor/actions.rb +21 -22
- data/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +2 -2
- data/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +8 -8
- data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +23 -12
- data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +10 -14
- data/lib/bundler/vendor/thor/lib/thor/base.rb +30 -30
- data/lib/bundler/vendor/thor/lib/thor/command.rb +9 -9
- data/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +9 -1
- data/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +7 -5
- data/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +94 -63
- data/lib/bundler/vendor/thor/lib/thor/error.rb +3 -3
- data/lib/bundler/vendor/thor/lib/thor/group.rb +12 -12
- data/lib/bundler/vendor/thor/lib/thor/invocation.rb +4 -5
- data/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +4 -7
- data/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +16 -16
- data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +40 -19
- data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +7 -5
- data/lib/bundler/vendor/thor/lib/thor/runner.rb +25 -25
- data/lib/bundler/vendor/thor/lib/thor/shell.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +41 -26
- data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +4 -4
- data/lib/bundler/vendor/thor/lib/thor/util.rb +8 -7
- data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
- data/lib/bundler/version.rb +14 -1
- data/lib/bundler/version_ranges.rb +75 -0
- data/lib/bundler/worker.rb +2 -1
- data/man/bundle-check.ronn +26 -0
- data/man/bundle-clean.ronn +18 -0
- data/man/bundle-config.ronn +4 -1
- data/man/bundle-info.ronn +17 -0
- data/man/bundle-init.ronn +18 -0
- data/man/bundle-inject.ronn +22 -0
- data/man/bundle-open.ronn +19 -0
- data/man/bundle-show.ronn +20 -0
- data/man/bundle-update.ronn +5 -2
- data/man/bundle-viz.ronn +30 -0
- data/man/bundle.ronn +3 -0
- data/man/gemfile.5.ronn +24 -64
- data/task/release.rake +115 -0
- metadata +49 -5
- data/DEVELOPMENT.md +0 -150
- data/ISSUES.md +0 -117
data/DEVELOPMENT.md
DELETED
@@ -1,150 +0,0 @@
|
|
1
|
-
Great to have you here! Here are a few ways you can help out with [Bundler](http://github.com/bundler/bundler).
|
2
|
-
|
3
|
-
# Where should I start?
|
4
|
-
|
5
|
-
You can start learning about Bundler by reading [the documentation](http://bundler.io). If you want, you can also read a (lengthy) explanation of [why Bundler exists and what it does](http://bundler.io/rationale.html). You can also check out discussions about Bundler on the [Bundler mailing list](https://groups.google.com/group/ruby-bundler) and in the [Bundler IRC channel](http://webchat.freenode.net/?channels=%23bundler), which is #bundler on Freenode. Please note that this project is released with a contributor [code of conduct](http://bundler.io/conduct.html). By participating in this project you agree to abide by its terms.
|
6
|
-
|
7
|
-
## Your first commits
|
8
|
-
|
9
|
-
If you’re interested in contributing to Bundler, that’s awesome! We’d love your help.
|
10
|
-
|
11
|
-
If you have any questions after reading this page, please feel free to contact either [@indirect](https://github.com/indirect), [@segiddins](https://github.com/segiddins), or [@RochesterinNYC](https://github.com/RochesterinNYC). They are all happy to provide help working through your first bug fix or thinking through the problem you’re trying to resolve.
|
12
|
-
|
13
|
-
## How you can help
|
14
|
-
|
15
|
-
We track [small bugs and features](https://github.com/bundler/bundler/labels/contribution%3A%20small) so that anyone who wants to help can start with something that's not too overwhelming. We also keep a [list of things anyone can help with, any time](https://github.com/bundler/bundler/blob/master/CONTRIBUTING.md#contributing). If nothing on those lists looks good, talk to us, and we'll figure out what you can help with. We can absolutely use your help, no matter what level of programming skill you have at the moment.
|
16
|
-
|
17
|
-
# Development setup
|
18
|
-
|
19
|
-
Bundler doesn't use a Gemfile to list development dependencies, because when we tried it we couldn't tell if we were awake or it was just another level of dreams. To work on Bundler, you'll probably want to do a couple of things.
|
20
|
-
|
21
|
-
1. Install `groff-base` and `graphviz` packages using your package manager, e.g for ubuntu
|
22
|
-
|
23
|
-
$ sudo apt-get install graphviz groff-base -y
|
24
|
-
|
25
|
-
and for OS X (with brew installed)
|
26
|
-
|
27
|
-
$ brew install graphviz homebrew/dupes/groff
|
28
|
-
|
29
|
-
2. Install Bundler's development dependencies
|
30
|
-
|
31
|
-
$ bin/rake spec:deps
|
32
|
-
|
33
|
-
3. Run the test suite, to make sure things are working
|
34
|
-
|
35
|
-
$ bin/rake spec
|
36
|
-
|
37
|
-
4. Set up a shell alias to run Bundler from your clone, e.g. a Bash alias:
|
38
|
-
|
39
|
-
$ alias dbundle='BUNDLE_TRAMPOLINE_DISABLE=1 ruby -I /path/to/bundler/lib /path/to/bundler/exe/bundle'
|
40
|
-
|
41
|
-
The `BUNDLE_TRAMPOLINE_DISABLE` environment variable ensures that the version of Bundler in `/path/to/bundler/lib` will be used. Without that environment setting, Bundler will automatically download, install, and run the version of Bundler listed in `Gemfile.lock`. With that set up, you can test changes you've made to Bundler by running `dbundle`, without interfering with the regular `bundle` command.
|
42
|
-
|
43
|
-
To dive into the code with Pry: `RUBYOPT=-rpry dbundle` to require pry and then run commands.
|
44
|
-
|
45
|
-
# Submitting Pull Requests
|
46
|
-
|
47
|
-
Before you submit a pull request, please remember to do the following:
|
48
|
-
|
49
|
-
- Make sure the code formatting and styling adheres to the guidelines. We use Rubocop for this. Lack of formatting adherence will result in automatic Travis build failures.
|
50
|
-
|
51
|
-
$ bin/rubocop -a
|
52
|
-
|
53
|
-
- Please run the test suite:
|
54
|
-
|
55
|
-
$ bin/rspec
|
56
|
-
|
57
|
-
- If you are unable to run the entire test suite, please run the unit test suite and at least the integration specs related to the command or domain of Bundler that your code changes relate to.
|
58
|
-
|
59
|
-
- Ex. For a pull request that changes something with `bundle update`, you might run:
|
60
|
-
|
61
|
-
$ bin/rspec spec/bundler
|
62
|
-
$ bin/rspec spec/commands/update_spec.rb
|
63
|
-
|
64
|
-
- Please ensure that the commit messages included in the pull request __do not__ have the following:
|
65
|
-
- `@tag` Github user or team references (ex. `@indirect` or `@bundler/core`)
|
66
|
-
- `#id` references to issues or pull requests (ex. `#43` or `bundler/bundler-site#12`)
|
67
|
-
|
68
|
-
If you want to use these mechanisms, please instead include them in the pull request description. This prevents multiple notifications or references being created on commit rebases or pull request/branch force pushes.
|
69
|
-
|
70
|
-
- Additionally, do not use `[ci skip]` or `[skip ci]` mechanisms in your pull request titles/descriptions or commit messages. Every potential commit and pull request should run through Bundler's CI system. This applies to all changes/commits (ex. even a change to just documentation or the removal of a comment).
|
71
|
-
|
72
|
-
# Bug triage
|
73
|
-
|
74
|
-
Triage is the work of processing tickets that have been opened into actionable issues, feature requests, or bug reports. That includes verifying bugs, categorizing the ticket, and ensuring there's enough information to reproduce the bug for anyone who wants to try to fix it.
|
75
|
-
|
76
|
-
We've created an [issues guide](https://github.com/bundler/bundler/blob/master/ISSUES.md) to walk Bundler users through the process of troubleshooting issues and reporting bugs.
|
77
|
-
|
78
|
-
If you'd like to help, awesome! You can [report a new bug](https://github.com/bundler/bundler/issues/new) or browse our [existing open tickets](https://github.com/bundler/bundler/issues).
|
79
|
-
|
80
|
-
Not every ticket will point to a bug in Bundler's code, but open tickets usually mean that there is something we could improve to help that user. Sometimes that means writing additional documentation, sometimes that means making error messages clearer, and sometimes that means explaining to a user that they need to install git to use git gems.
|
81
|
-
|
82
|
-
When you're looking at a ticket, here are the main questions to ask:
|
83
|
-
|
84
|
-
* Can I reproduce this bug myself?
|
85
|
-
* Are the steps to reproduce clearly stated in the ticket?
|
86
|
-
* Which versions of Bundler (1.1.x, 1.2.x, git, etc.) manifest this bug?
|
87
|
-
* Which operating systems (OS X, Windows, Ubuntu, CentOS, etc.) manifest this bug?
|
88
|
-
* Which rubies (MRI, JRuby, Rubinius, etc.) and which versions (1.8.7, 1.9.3, etc.) have this bug?
|
89
|
-
|
90
|
-
If you can't reproduce an issue, chances are good that the bug has been fixed (hurrah!). That's a good time to post to the ticket explaining what you did and how it worked.
|
91
|
-
|
92
|
-
If you can reproduce an issue, you're well on your way to fixing it. :) Fixing issues is similar to adding new features:
|
93
|
-
|
94
|
-
1. Discuss the fix on the existing issue. Coordinating with everyone else saves duplicate work and serves as a great way to get suggestions and ideas if you need any.
|
95
|
-
2. Base your commits on the correct branch. Bugfixes for 1.x versions of Bundler should be based on the matching 1-x-stable branch.
|
96
|
-
3. Commit the code and at least one test covering your changes to a named branch in your fork.
|
97
|
-
4. Put a line in the [CHANGELOG](https://github.com/bundler/bundler/blob/master/CHANGELOG.md) summarizing your changes under the next release under the “Bugfixes” heading.
|
98
|
-
5. Send us a [pull request](https://help.github.com/articles/using-pull-requests) from your bugfix branch.
|
99
|
-
|
100
|
-
Finally, the ticket may be a duplicate of another older ticket. If you notice a ticket is a duplicate, simply comment on the ticket noting the original ticket’s number. For example, you could say “This is a duplicate of issue #42, and can be closed”.
|
101
|
-
|
102
|
-
|
103
|
-
# Adding New Features
|
104
|
-
|
105
|
-
If you would like to add a new feature to Bundler, please follow these steps:
|
106
|
-
|
107
|
-
1. [Create an issue](https://github.com/bundler/bundler/issues/new) with the [`feature-request` label](https://github.com/bundler/bundler/labels/type:%20feature-request) to discuss your feature.
|
108
|
-
2. Base your commits on the master branch, since we follow [SemVer](http://semver.org) and don't add new features to old releases.
|
109
|
-
3. Commit the code and at least one test covering your changes to a feature branch in your fork.
|
110
|
-
4. Send us a [pull request](https://help.github.com/articles/using-pull-requests) from your feature branch.
|
111
|
-
|
112
|
-
If you don't hear back immediately, don’t get discouraged! We all have day jobs, but we respond to most tickets within a day or two.
|
113
|
-
|
114
|
-
|
115
|
-
# Beta testing
|
116
|
-
|
117
|
-
Early releases require heavy testing, especially across various system setups. We :heart: testers, and are big fans of anyone who can run `gem install bundler --pre` and try out upcoming releases in their development and staging environments.
|
118
|
-
|
119
|
-
There may not always be prereleases or beta versions of Bundler. The Bundler team will tweet from the [@bundlerio account](http://twitter.com/bundlerio) when a prerelease or beta version becomes available. You are also always welcome to try checking out master and building a gem yourself if you want to try out the latest changes.
|
120
|
-
|
121
|
-
|
122
|
-
# Translations
|
123
|
-
|
124
|
-
We don't currently have any translations, but please reach out to us if you would like to help get this going.
|
125
|
-
|
126
|
-
|
127
|
-
# Documentation
|
128
|
-
|
129
|
-
Code needs explanation, and sometimes those who know the code well have trouble explaining it to someone just getting into it. Because of that, we welcome documentation suggestions and patches from everyone, especially if they are brand new to using Bundler.
|
130
|
-
|
131
|
-
Bundler has two main sources of documentation: the built-in help (including usage information and man pages) and the [Bundler documentation site](http://bundler.io).
|
132
|
-
|
133
|
-
If you’d like to submit a patch to the man pages, follow the steps for submitting a pull request above. All of the man pages are located in the `man` directory. Just use the “Documentation” heading when you describe what you did in the changelog.
|
134
|
-
|
135
|
-
If you have a suggestion or proposed change for [bundler.io](http://bundler.io), please open an issue or send a pull request to the [bundler-site](https://github.com/bundler/bundler-site) repository.
|
136
|
-
|
137
|
-
|
138
|
-
# Community
|
139
|
-
|
140
|
-
Community is an important part of all we do. If you’d like to be part of the Bundler community, you can jump right in and start helping make Bundler better for everyone who uses it.
|
141
|
-
|
142
|
-
It would be tremendously helpful to have more people answering questions about Bundler (and often simply about [Rubygems](https://github.com/rubygems/rubygems) or Ruby itself) in our [issue tracker](https://github.com/bundler/bundler/issues) or on [Stack Overflow](http://stackoverflow.com/questions/tagged/bundler).
|
143
|
-
|
144
|
-
Additional documentation and explanation is always helpful, too. If you have any suggestions for the Bundler website [bundler.io](http://bundler.io), we would absolutely love it if you opened an issue or pull request on the [bundler-site](https://github.com/bundler/bundler-site) repository.
|
145
|
-
|
146
|
-
Finally, sharing your experiences and discoveries by writing them up is a valuable way to help others who have similar problems or experiences in the future. You can write a blog post, create an example and commit it to Github, take screenshots, or make videos.
|
147
|
-
|
148
|
-
Publishing examples of how Bundler is used helps everyone, and we’ve discovered that people already use it in ways that we never imagined when we were writing it. If you’re still not sure what to write about, there are also several projects doing interesting things based on Bundler. They could probably use publicity too.
|
149
|
-
|
150
|
-
Finally, all contributors to the Bundler project must agree to the contributor [code of conduct](http://bundler.io/conduct.html). By participating in this project you agree to abide by its terms.
|
data/ISSUES.md
DELETED
@@ -1,117 +0,0 @@
|
|
1
|
-
# Bundler Issues
|
2
|
-
|
3
|
-
So! You're having problems with Bundler. This file is here to help. If you're running into an error, try reading the rest of this file for help. If you can't figure out how to solve your problem, there are also instructions on how to report a bug.
|
4
|
-
|
5
|
-
## Documentation
|
6
|
-
|
7
|
-
Instructions for common Bundler uses can be found on the [Bundler documentation site](http://bundler.io/).
|
8
|
-
|
9
|
-
Detailed information about each Bundler command, including help with common problems, can be found in the [Bundler man pages](http://bundler.io/man/bundle.1.html) or [Bundler Command Line Reference](http://bundler.io/v1.11/commands.html).
|
10
|
-
|
11
|
-
## Troubleshooting
|
12
|
-
|
13
|
-
### Permission denied when installing bundler
|
14
|
-
|
15
|
-
Certain operating systems such as MacOS and Ubuntu have versions of Ruby that require evelated privileges to install gems.
|
16
|
-
|
17
|
-
ERROR: While executing gem ... (Gem::FilePermissionError)
|
18
|
-
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
|
19
|
-
|
20
|
-
There are multiple ways to solve this issue. You can install bundler with elevated privilges using `sudo` or `su`.
|
21
|
-
|
22
|
-
sudo gem install bundler
|
23
|
-
|
24
|
-
If you cannot elevated your privileges or do not want to globally install Bundler, you can use the `--user-install` option.
|
25
|
-
|
26
|
-
gem install bundler --user-install
|
27
|
-
|
28
|
-
This will install Bundler into your home directory. Note that you will need to append `~/.gem/ruby/<ruby version>/bin` to your `$PATH` variable to use `bundle`.
|
29
|
-
|
30
|
-
### Heroku errors
|
31
|
-
|
32
|
-
Please open a ticket with [Heroku](https://www.heroku.com) if you're having trouble deploying. They have a professional support team who can help you resolve Heroku issues far better than the Bundler team can. If the problem that you are having turns out to be a bug in Bundler itself, [Heroku support](https://www.heroku.com/support) can get the exact details to us.
|
33
|
-
|
34
|
-
### Other problems
|
35
|
-
|
36
|
-
First, figure out exactly what it is that you're trying to do (see [XY Problem](http://xyproblem.info/)). Then, go to the [Bundler documentation website](http://bundler.io) and see if we have instructions on how to do that.
|
37
|
-
|
38
|
-
Second, check [the compatibility
|
39
|
-
list](http://bundler.io/compatibility.html), and make sure that the version of Bundler that you are
|
40
|
-
using works with the versions of Ruby and Rubygems that you are using. To see your versions:
|
41
|
-
|
42
|
-
# Bundler version
|
43
|
-
bundle -v
|
44
|
-
|
45
|
-
# Ruby version
|
46
|
-
ruby -v
|
47
|
-
|
48
|
-
# Rubygems version
|
49
|
-
gem -v
|
50
|
-
|
51
|
-
If these instructions don't work, or you can't find any appropriate instructions, you can try these troubleshooting steps:
|
52
|
-
|
53
|
-
# Remove user-specific gems and git repos
|
54
|
-
rm -rf ~/.bundle/ ~/.gem/bundler/ ~/.gems/cache/bundler/
|
55
|
-
|
56
|
-
# Remove system-wide git repos and git checkouts
|
57
|
-
rm -rf $GEM_HOME/bundler/ $GEM_HOME/cache/bundler/
|
58
|
-
|
59
|
-
# Remove project-specific settings
|
60
|
-
rm -rf .bundle/
|
61
|
-
|
62
|
-
# Remove project-specific cached gems and repos
|
63
|
-
rm -rf vendor/cache/
|
64
|
-
|
65
|
-
# Remove the saved resolve of the Gemfile
|
66
|
-
rm -rf Gemfile.lock
|
67
|
-
|
68
|
-
# Uninstall the rubygems-bundler and open_gem gems
|
69
|
-
rvm gemset use global # if using rvm
|
70
|
-
gem uninstall rubygems-bundler open_gem
|
71
|
-
|
72
|
-
# Try to install one more time
|
73
|
-
bundle install
|
74
|
-
|
75
|
-
## Reporting unresolved problems
|
76
|
-
|
77
|
-
Hopefully the troubleshooting steps above resolved your problem. If things still aren't working the way you expect them to, please let us know so that we can diagnose and hopefully fix the problem you're having.
|
78
|
-
|
79
|
-
**The best way to report a bug is by providing a reproduction script.** See these examples:
|
80
|
-
|
81
|
-
* [Git environment variables causing install to fail.](https://gist.github.com/xaviershay/6207550)
|
82
|
-
* [Multiple gems in a repository cannot be updated independently.](https://gist.github.com/xaviershay/6295889)
|
83
|
-
|
84
|
-
A half working script with comments for the parts you were unable to automate is still appreciated.
|
85
|
-
|
86
|
-
If you are unable to do that, please include the following information in your report:
|
87
|
-
|
88
|
-
- What you're trying to accomplish
|
89
|
-
- The command you ran
|
90
|
-
- What you expected to happen
|
91
|
-
- What actually happened
|
92
|
-
- The exception backtrace(s), if any
|
93
|
-
- Everything output by running `bundle env`
|
94
|
-
|
95
|
-
If your version of Bundler does not have the `bundle env` command, then please include:
|
96
|
-
|
97
|
-
- Your `Gemfile`
|
98
|
-
- Your `Gemfile.lock`
|
99
|
-
- Your Bundler configuration settings (run `bundle config`)
|
100
|
-
- What version of bundler you are using (run `bundle -v`)
|
101
|
-
- What version of Ruby you are using (run `ruby -v`)
|
102
|
-
- What version of Rubygems you are using (run `gem -v`)
|
103
|
-
- Whether you are using RVM, and if so what version (run `rvm -v`)
|
104
|
-
- Whether you have the `rubygems-bundler` gem, which can break gem executables (run `gem list rubygems-bundler`)
|
105
|
-
- Whether you have the `open_gem` gem, which can cause rake activation conflicts (run `gem list open_gem`)
|
106
|
-
|
107
|
-
If you are using Rails 2.3, please also include:
|
108
|
-
|
109
|
-
- Your `boot.rb` file
|
110
|
-
- Your `preinitializer.rb` file
|
111
|
-
- Your `environment.rb` file
|
112
|
-
|
113
|
-
If you have either `rubygems-bundler` or `open_gem` installed, please try removing them and then following the troubleshooting steps above before opening a new ticket.
|
114
|
-
|
115
|
-
[Create a gist](https://gist.github.com) containing all of that information, then visit the [Bundler issue tracker](https://github.com/bundler/bundler/issues) and [create a ticket](https://github.com/bundler/bundler/issues/new) describing your problem and linking to your gist.
|
116
|
-
|
117
|
-
Thanks for reporting issues and helping make Bundler better!
|