summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* don't display warning if Bundler.settings[:cache_all] is setTerence Lee2012-07-171-0/+14
|
* add warning message for `bundle pack --all` if not used with git reposTerence Lee2012-07-171-0/+13
|
* Prune git and path directories inside vendor/cache, closes #1988José Valim2012-07-172-0/+20
| | | | | | | From this commit on, we add a .bundlecache file inside each git/path directory in vendor/cache so we know it came from bundler. This allow us to delete those specific directories without messing with user's specific ones.
* Don't actually care if git repo is inside the repository, always cache it, ↵José Valim2012-07-171-0/+18
| | | | closes #1989
* loosen ruby directive for enginesTerence Lee2012-07-121-0/+164
| | | | | | | | | allow other engines to qualify when the engine is omitted. So, in the Gemfile: ruby "1.9.3" will work with JRuby and RBX as long as the RUBY_VERSION matches
* Check that LICENSE.txt was created.Postmodern2012-06-211-0/+1
|
* specs: check :branch for local overrides on runtimeDavid Lee2012-06-142-5/+92
| | | | Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
* Add config disable_local_branch_check, closes #1985José Valim2012-06-141-1/+16
|
* Merge remote-tracking branch 'rkh/optional-branch'André Arko2012-06-121-2/+21
|\ | | | | | | | | | | Conflicts: lib/bundler/source.rb spec/install/git_spec.rb
| * do not explode if branch is not given for local git reposKonstantin Haase2012-05-211-2/+2
| |
* | remove all requirements for local override.Phil Monroe2012-06-121-2/+2
| |
* | Allowing git local override to to accept :branch, :tag or :refPhil Monroe2012-06-121-21/+2
| |
* | Merge pull request #1920 from drogus/gem_path_fixAndré Arko2012-06-071-0/+14
|\ \ | | | | | | Always try to keep original GEM_PATH
| * | Always try to keep original GEM_PATHPiotr Sarnacki2012-06-071-0/+14
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a problem which occures when you want to run `bundle` command inside code that already loads `Gemfile`. When you start a command with `bundle exec` it sets `RUBYOPT` to `-I$PATH_TO_BUNDLER -r"bundler/setup"`. Because of that, when you run the actual command it already requires bundler, which is fine, but since `GEM_PATH` was cleared on the first run `ORIGINAL_ENV` will include empty `GEM_PATH`. Now when you run `Bundler.with_clean_env`, you will not have any bundler specific env variables, but you will also not have original gem path, which will make it impossible to run any gem. To fix this I try to always keep a reference to original gem path, so it's not emptied along the way.
* | Fix typos in error messagesMani Tadayon2012-06-041-1/+1
| |
* | explain the problem when Gemfile.lock isn't writableAndré Arko2012-05-291-0/+25
| |
* | Merge v1.1.4 from branch '1-1-stable'André Arko2012-05-271-0/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG.md bin/bundle lib/bundler/version.rb spec/install/gems/dependency_api_spec.rb
| * | Revert "suppress rubygems deprecations during artifice setup"Andre Arko2012-05-271-27/+14
| | | | | | | | | | | | | | | | | | | | | It turns out suppressing the errors like this changes the output and causes the tests to fail. So oh well. Back to deprecation warnings... This reverts commit 040430d2fb5f41baf7de3295909e5fd38c194090.
| * | instructions for when OpenSSL is missingAndre Arko2012-05-271-0/+34
| | |
| * | grammar fix for spec nameAndre Arko2012-05-271-1/+1
| | |
| * | suppress rubygems deprecations during artifice setupAndre Arko2012-05-271-14/+27
| | |
* | | Revert "return the right error code for bundle exec with ruby version"Andre Arko2012-05-261-1/+0
| | | | | | | | | | | | | | | | | | This is based on the previously-reverted commit, so I'm reverting it as well for now. This reverts commit 5ba208133c7c2293dfa096dcb8ccbe19f8d010f3.
* | | Revert "bundle exec does less work"Andre Arko2012-05-262-23/+2
| | | | | | | | | | | | | | | | | | Based on reports from Piotr Sarnacki, this commit breaks BUNDLE_BIN_PATH when you run e.g. `bundle exec bundle -v`. Reverting to stabilize master while we investigate and hopefully fix. This reverts commit f96d7e75121563bf2a3a45db9d4d9d775ab0be56.
* | | return the right error code for bundle exec with ruby versionTerence Lee2012-05-251-0/+1
| | | | | | | | | | | | paired with @wycats
* | | spacingTerence Lee2012-05-251-2/+2
| | |
* | | bundle exec does less worktomhuda2012-05-252-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It isn't necessary for bundle exec to load up and test the entire environment, when the process it is exec'ing into has to do the same work anyway. This change makes bundle exec do the minimal env setup work, and defer the checking to the subprocess it is `exec`ing to.
* | | Revert "test for 4e855b9e707b7d87f8f330f23d1280bd9a923ef7"Terence Lee2012-05-241-19/+1
| | | | | | | | | | | | This reverts commit b7ff1a13362c748853635439e1fa2d314f326f23.
* | | test for 4e855b9e707b7d87f8f330f23d1280bd9a923ef7Terence Lee2012-05-241-1/+19
| |/ |/|
* | bundle check fails w/o Gemfile.lock and frozenTerence Lee2012-05-091-0/+14
| | | | | | | | | | | | There are cases where frozen is set but the Gemfile.lock is missing (like the user forgot to check the lockfile into version control). This means check will pass but Bundler.setup will fail. This fixes this case.
* | prepend platform list item with a *v1.2.0.preTerence Lee2012-05-041-3/+3
| |
* | RUBY_ENGINE is not defined in ruby 1.8.7Terence Lee2012-05-033-3/+3
| |
* | rename ruby_spec.rb to platform_spec.rb to match cli commandTerence Lee2012-05-031-0/+0
| |
* | finish --ruby flag on bundle platformTerence Lee2012-05-031-4/+4
| |
* | change dsl for ruby_version to rubyTerence Lee2012-05-031-65/+133
| |
* | don't print engine information for MRITerence Lee2012-05-031-2/+2
| |
* | ruby version check for bundle#outdatedTerence Lee2012-05-031-0/+89
| |
* | rename 'bundle ruby' to 'bundle platform'Terence Lee2012-05-031-8/+8
| |
* | ruby version check for bundle#console and Bundler.setupTerence Lee2012-05-031-6/+191
| |
* | ruby version check for bundle#execTerence Lee2012-05-031-3/+55
| |
* | ruby version check for bundle#packTerence Lee2012-05-031-0/+56
| |
* | ruby version check for bundle#cacheTerence Lee2012-05-031-0/+56
| |
* | ruby version check for bundle#showTerence Lee2012-05-031-0/+59
| |
* | refactor ruby version check testsTerence Lee2012-05-031-30/+44
| |
* | ruby version check for bundle#updateTerence Lee2012-05-031-0/+81
| |
* | ruby version check for bundle#checkTerence Lee2012-05-031-0/+76
| |
* | ruby version check for bundle#installYehuda Katz and Terence Lee2012-05-034-1/+107
| |
* | fix some whitespaceTerence Lee2012-05-031-1/+1
| |
* | remove focusing on testsTerence Lee2012-05-031-1/+1
| |
* | initial work on ruby_version dslTerence Lee2012-05-031-0/+94
| |
* | Added --full-index option to bundle update re #1715Bradley Schaefer2012-04-101-8/+21
| |