aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler.rb
Commit message (Collapse)AuthorAgeFilesLines
* Extract SourceList class from Definition.Tim Moore2014-07-301-0/+1
|
* Memoize slow call to #expand_pathAndre Arko2014-07-231-1/+1
| | | Fixes #3104
* move ConfigMap into RubygemsIntegrationAndre Arko2014-03-311-1/+1
|
* er, one tmp per install run. yeah.Andre Arko2014-03-311-2/+3
|
* tmp not in /tmp? are you kidding me?Andre Arko2014-03-311-1/+1
|
* We still need to check if other directories are writable or notSmit Shah2014-03-021-1/+1
|
* Just check all the files in build_infoSmit Shah2014-03-021-2/+2
|
* Check if all the files in build_info are writable or notSmit Shah2014-03-021-2/+2
|
* Just learned any? iterates all the elements in the listSmit Shah2014-03-011-1/+1
| | | | This reverts commit aad165a34a621edf17e937068f311bfef3663cd9.
* If any file is not writable then we need sudoSmit Shah2014-03-011-1/+1
|
* Fix typo lock_gems -> locked_gems.Tim Moore2014-02-151-1/+1
| | | | Fixes #2880.
* Raise GemfileLockNotFound only for non-full update.Josef Šimánek2014-01-271-1/+1
|
* Merge pull request #2840 from zizkovrb/bundle-update-messageAndre Arko2014-01-261-0/+1
|\ | | | | | | | | | | | | Don't blow on bundle update gem when lock is not present. Conflicts: lib/bundler/cli.rb
| * Don't blow on bundle update gem when lock is not present.Josef Šimánek2014-01-261-0/+1
| | | | | | | | | | | | * rename not_found_message to gem_not_found_message * add lock_not_found_message * add GemfileLockNotFound error with 22 status code
* | remove exit code conflict with VersionConflictAndre Arko2014-01-261-1/+1
| |
* | remove the duplicate code configure_gem and put it after if and else conditionSanjiv Jha2014-01-211-3/+2
|/
* extract UI::SilentAndre Arko2014-01-091-1/+1
|
* Merge pull request #2759 from gjaldon/add-package-optionsAndre Arko2013-12-231-2/+3
|\ | | | | | | Add --path and --gemfile opts to package
| * --path changes directory where 'vendor/cache' is createdGabriel Jaldon2013-12-221-2/+3
| |
* | Merge pull request #2639 from joyicecloud/show-version-of-gem-updatedAndre Arko2013-12-181-2/+5
|\ \ | |/ |/| | | | | | | | | | | | | Displays the previous version of the gem when run bundle update Conflicts: lib/bundler/source.rb lib/bundler/source/git/git_proxy.rb lib/bundler/source/rubygems.rb
| * Displays the previous version of the gem when run bundle updatejoyicecloud2013-09-181-2/+5
| | | | | | | | | | | | | | | | Change code in the 3 source files to display the method locked_gems in lib/bundler.rb Add 3 Rspec test in the update directory for each source: rubygems, git, path.
* | Fix Bundler::whichrhysd2013-11-091-1/+1
| | | | | | | | | | | | Bundler::which doesn't return nil if the argument is a name of directory. This is because File::executable? returns true when its argument is a name of directory. I fixed it with File::file?.
* | look for windows git tooAndre Arko2013-10-131-1/+2
| |
* | extract into Bundler.ruby_versionAndre Arko2013-09-281-0/+4
| |
* | Retry fetch specs with `--retry`schneems2013-09-281-0/+1
|/ | | | | | This PR adds a general purpose Retry class that can be re-used where-ever retry code is needed! It also allows you to call `bundle install --retry 3` which will attempt to connect to ruby gems 3 times before failing, and emit a warning message each time
* Print a better error when git is not installed.joyicecloud2013-09-111-0/+4
|
* extract Bundler.locked_gemsAndre Arko2013-08-311-0/+7
|
* Merge pull request #2535 from ixti/issue-1028Andre Arko2013-08-041-1/+13
|\ | | | | | | Improves sudo propmt
| * Improves sudo propmtAleksey V Zapparov2013-07-111-1/+13
| |
* | Merge pull request #2564 from bundler/detect-cyclic-dependencyAndré Arko2013-07-291-15/+16
|\ \ | | | | | | Raise user friendly errors in case of Cyclic Dependency
| * | Changed cyclic dependency error messageHemant Kumar2013-07-261-15/+15
| | | | | | | | | | | | Also change raise code to be inline with current convention.
| * | Raise user friendly errors in case of Cyclic DependencyHemant Kumar2013-07-261-15/+16
| | | | | | | | | | | | Fixes #2506
* | | Load current_ruby from shared_helpers.rbHemant Kumar2013-07-251-8/+0
|/ / | | | | | | | | | | In case of commands run via bundle exec, we do not require all of bundler in that environment and we only require bundler/setup there. Which creates problems because Bundler is unable to find current_ruby therej
* | Merge pull request #2541 from code-mancers/add-definition-docsHemant Kumar2013-07-211-0/+5
|\ \ | | | | | | Add some documentation about definition class
| * | Add some documentation about definition classHemant Kumar2013-07-161-0/+5
| |/ | | | | | | [ci skip]
* / Extract Current Ruby version/platform detection from dependency.rbHemant Kumar2013-07-181-0/+9
|/ | | | | | That can be reused across several places in bundler and hence extracted that code which is responsible for properly detecting current ruby version.
* Merge pull request #2481 from eagletmt/parallel-installAndre Arko2013-07-031-5/+2
|\ | | | | | | Parallel installation
| * Move constants to use it from SharedHelpersKohei Suzuki2013-05-231-4/+1
| |
| * Prohibit Dir.pwd while another thread is doing Dir.chdirKohei Suzuki2013-05-231-1/+1
| |
* | Coerce Pathname into String for MacRubyKamil K. Lemański2013-07-031-1/+1
| |
* | Remove unused class `Bundler::InvalidSpecSet`Ryunosuke SATO2013-06-271-2/+1
| |
* | Revert "refresh so that `bundle exec bundle -v` works again"Matthew Draper2013-05-221-1/+0
|/ | | | | | | | This reverts commit 7b748268997d7522c1b3507b52ce61e7716b2e42, and thus fixes #2454. The refresh doesn't seem to be necessary... though the original commit was a bit vague on exactly what it was setting out to fix.
* improve sudo install supportAndre Arko2013-04-011-9/+21
| | | | | | | | | on some Linux environments, it appears that GEM_HOME is writable but some (or all) subdirectories are not writable. by using sudo anytime one of those subdirectories is not writable, it becomes possible to run `bundle install` without special considerations on those machines. fixes #2403
* abstract Marshal.load failuresAndre Arko2013-02-181-0/+7
|
* Merge pull request #2007 from zofrex/issue-2000Andre Arko2013-02-171-14/+15
|\ | | | | | | | | | | | | Abort installation if Gemfile.lock contains merge conflict markers Conflicts: lib/bundler.rb
| * Merge remote-tracking branch 'upstream/master' into issue-2000zofrex2012-11-111-17/+25
| |\
| * | Issue #2000 Add test for conflict markers in Gemfile.lockzofrex2012-06-291-0/+1
| | |
* | | set $MANPATH in Bundler::Runtime#setup_environmentSuraj N. Kurapati2013-02-171-0/+1
| | | | | | | | | | | | This lets `bundle exec man ...` show man pages from bundled gems.
* | | don't need to path up a pathAndre Arko2013-02-131-3/+2
| | |
* | | create a SecurityError that isn't a build issueAndre Arko2013-02-071-0/+1
| | |