Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
post merge cleaning, use one gemspec
- Loading branch information
Showing
14 changed files
with
53 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
source "http://rubygems.org" | ||
|
||
# Specify your gem's dependencies in noexec.gemspec | ||
gemspec | ||
|
||
gem 'rake' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env ruby | ||
|
||
print File.expand_path(File.expand_path("../../lib/noexec/auto.rb", __FILE__)) | ||
print File.expand_path(File.expand_path("../../lib/rubygems-bundler/noexec.rb", __FILE__)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module RubygemsBundler | ||
VERSION = "0.9.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
require 'rubygems/command_manager' | ||
require 'rubygems_bundler/rubygems_bundler_installer' | ||
require 'rubygems_bundler/regenerate_binstubs_command' | ||
require 'rubygems-bundler/rubygems_bundler_installer' | ||
require 'rubygems-bundler/regenerate_binstubs_command' | ||
|
||
if Gem::VERSION < '1.9' then | ||
require 'rubygems_bundler/fix_wrapper' | ||
require 'rubygems-bundler/fix_wrapper' | ||
end | ||
|
||
Gem::CommandManager.instance.register_command :regenerate_binstubs |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,23 @@ | ||
Gem::Specification.new do |s| | ||
s.name = "rubygems-bundler" | ||
s.version = "0.3.0" | ||
s.date = "2012-04-02" | ||
s.summary = "Make rubygems generate bundler aware executable wrappers" | ||
s.email = "mpapis@gmail.com" | ||
s.homepage = "http://mpapis.github.com/rubygems-bundler" | ||
s.description = "Integrate Rubygems and Bundler" | ||
s.has_rdoc = false | ||
s.authors = ["Michal Papis"] | ||
s.files = [ | ||
"bin/ruby_bundler_wrapper", | ||
"bin/ruby_noexec_wrapper", | ||
"ext/wrapper_installer/extconf.rb", | ||
"lib/rubygems_bundler/regenerate_binstubs_command.rb", | ||
"lib/rubygems_bundler/rubygems_bundler_installer.rb", | ||
"lib/rubygems_bundler/fix_wrapper.rb", | ||
"lib/rubygems_plugin.rb", | ||
"LICENSE", | ||
"README.md", | ||
"rubygems-bundler.gemspec", | ||
] | ||
s.extensions = ["ext/wrapper_installer/extconf.rb"] | ||
s.post_install_message = <<-TEXT | ||
================================================================================== | ||
rubygems-bundler allows running gem executables in Gemfile specified versions! | ||
Note: from 0.2.8 the wrapper name changes, you need to repeat instructions bellow. | ||
First step is to add following line to ~/.gemrc | ||
custom_shebang: $env ruby_bundler_wrapper | ||
To make all the executables bundler compatible run: | ||
gem regenerate_binstubs # only once | ||
#!/usr/bin/env ruby | ||
# -*- encoding: utf-8 -*- | ||
$:.push File.expand_path("../lib", __FILE__) | ||
require "rubygems-bundler/version" | ||
|
||
To always use bundler add the following line to ~/.rvmrc or ~/.bashrc | ||
export USE_BUNDLER=force | ||
Relogin or call in every open shell: | ||
export USE_BUNDLER=force | ||
For more information read: | ||
https://github.com/mpapis/rubygems-bundler | ||
================================================================================== | ||
TEXT | ||
Gem::Specification.new do |s| | ||
s.name = "rubygems-bundler" | ||
s.version = RubygemsBundler::VERSION | ||
s.authors = ["Josh Hull", "Michal Papis"] | ||
s.email = ["joshbuddy@gmail.com", "mpapis@gmail.conf"] | ||
s.homepage = "http://mpapis.github.com/rubygems-bundler" | ||
s.summary = %q{Stop using bundle exec} | ||
s.description = %q{Stop using bundle exec. Integrate Rubygems and Bundler. Make rubygems generate bundler aware executable wrappers.} | ||
|
||
s.files = `git ls-files`.split("\n") | ||
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
s.executables = ["noexec"] | ||
s.extensions = ["ext/wrapper_installer/extconf.rb"] | ||
|
||
# Can do we have to depend on those two ? Can we have two simple tasks doing the same ? | ||
s.add_development_dependency "rake" | ||
s.add_development_dependency "bundler" | ||
end |