Permalink
Commits on Feb 13, 2012
  1. handle Gemfile syntax errors

    indirect committed Feb 13, 2012
  2. Merge pull request #1661 from koraktor/bundler

    ---
    
    This was initially requested in #1527 and I did a first iteration of it back then.
    
    Today, I decided that this can still be improved, so I improved formatting and added a spec.
    indirect committed Feb 13, 2012
Commits on Feb 12, 2012
  1. Added graceful handling of Gemfile syntax errors

    See issue #1527 for the initial request.
    koraktor committed Nov 12, 2011
  2. Merge pull request #1660 from vijaydev/fix_path_warn

    Fixes warning of variable shadowing
    sferik committed Feb 12, 2012
  3. Merge pull request #1658 from koraktor/fix-viz-deprecation-notices

    Fixed deprecation warnings in `bundle viz`
    sferik committed Feb 12, 2012
  4. Fixed deprecation warnings in `bundle viz`

    Newer versions of ruby-graphviz also warn about nil options.
    So I decided to clear out the :label option if it's nil.
    koraktor committed Feb 12, 2012
Commits on Jan 28, 2012
  1. Merge pull request #1638 from knu/fix_brace_expansion

    Reduce invocation of `git ls-files` and remove ksh/bash-ism.
    sferik committed Jan 28, 2012
Commits on Jan 27, 2012
  1. Add simple cache to Bundler.load_gemspec

    In some projects, for example those with 10s of local gemspecs, use of
    `git ls-files` for spec.files, or specs requiring significant source
    to get at a spec.version; this change to cache load_gemspec results in
    notable performance gains.
    
    The cache also avoids loading these same gemspecs repeatedly with
    different LOAD_PATH values.
    dekellum committed with indirect Jan 19, 2012
  2. Avoid passing RUBYOPT changes in with_clean_env block.

    Restoring the original ENV generally restored the RUBYOPT changes, but certain
    use cases leak through. This commit ensures that the ENV is truely clean by
    always checking for RUBYOPT changes and zapping them if they do exist.
    
    This commit fixes #1604 (second attempt)
    eric1234 committed with indirect Jan 5, 2012
Commits on Jan 20, 2012
  1. Merge pull request #1637 from knu/gemspec_from_rakefile

    Add Bundler::GemHelper.gemspec.
    sferik committed Jan 20, 2012
  2. Reduce invocation of `git ls-files`.

    This also removes shell brace expasion which is a ksh/bash extension
    that does not work with POSIX sh.
    knu committed Jan 20, 2012
  3. Add Bundler::GemHelper.gemspec.

    This method provides a way to access the Gem::Specification object
    generated from the gemspec file from within a Rakefile generated by
    `bundle gem'.
    
    You can keep DRY by using it to pull in attributes like `test_files',
    `extra_rdoc_files' and `extensions' for building tasks like `test',
    `rdoc' and `compile', respectively.
    knu committed Jan 20, 2012
Commits on Jan 19, 2012
  1. Merge pull request #1625 from brixen/ruby-independent

    Use the same ruby to run subprocesses as is running rake.
    André Arko committed Jan 19, 2012
Commits on Jan 16, 2012
  1. Merge pull request #1630 from invisiblefunnel/master

    Typo fix in installer error message
    sferik committed Jan 16, 2012
Commits on Jan 13, 2012
  1. Use the same ruby to run subprocesses as is running rake.

    For implementations like Rubinius that can run from a source directory without
    installing and which do not overwrite gem binary wrappers in system
    directories, it is possible to invoke the Rakefile with eg 'rbx -S rake spec'
    while the system Ruby is on PATH as 'ruby' and 'gem'. This results in the
    system Ruby running the rake subprocesses instead of Rubinius as intended.
    
    These changes use Gem.ruby, which returns the path to the Ruby implementation
    running rake and use -S to search for the gem bin wrapper on PATH. Rubinius
    prepends distinguished directories when processing -S so that gems installed
    into Rubinius are found first.
    
    The explicit requiring of rubygems may be controversial. Evan said it was ok
    but the rest of the changes stand on their own if it's desirable to remove the
    require.
    brixen committed Jan 13, 2012
Commits on Dec 21, 2011
  1. Merge pull request #1598 from spastorino/1-1-stable

    bundle exec shouldn't run Bundler.setup just setting the correct rubyopts options is enough
    sferik committed Dec 21, 2011
  2. PERFORMANCE: bundle exec shouldn't run Bundler.setup just setting the…

    … right rubyopts options is enough
    
    This makes bundle exec rake environment of this
    https://gist.github.com/d61b87f53277efd6079e Gemfile, 17% faster
    spastorino committed Dec 21, 2011
Commits on Dec 20, 2011
  1. Fix typo in rake task description

    Closes #1595.
    sferik committed Dec 20, 2011
Commits on Dec 14, 2011
  1. 1.1.rc.5

    hone committed Dec 14, 2011
  2. update changelog

    hone committed Dec 14, 2011
  3. 1.1.rc.4

    hone committed Dec 14, 2011
  4. update changelog

    hone committed Dec 14, 2011
  5. Merge pull request #1588 from cowboyd/bundler

    ---
    
    
    The binstubs generated by Bundler currently require both rubygems and bundler to be installed in order to execute: requirements not guaranteed at runtime for a standalone bundle.
    
    This introduces a separate method to generate binstubs when generating a standalone bundle. It first adds the root of the standalone to the load path, and then requiring `bundler/setup` from there.
    
    I was on the fence whether to leave the load path alone and load bundler/setup.rb directly via its path relative to the generated executeable, but in the end decided to go the way I did so that application code requiring bundler/setup will continue to function.
    
    Im pretty excited about the standalone feature, and I hope that this makes it into 1.1
    hone committed Dec 14, 2011
Commits on Dec 13, 2011
Commits on Dec 12, 2011
  1. Merge pull request #1586 from hirochachacha/1213_rewrite_viz_graph

    fix bundle viz command
    sferik committed Dec 12, 2011