Skip to content

Commit 6faa379

Browse files
committed
Uses the --binstub version of rake in every repo
* Prevents "already activated" errors if a more recent version of rake is installed on the system than each repo's Gemfile specifies.
1 parent 29f7d2f commit 6faa379

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Rakefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ namespace :gem do
7373

7474
desc "Build gems"
7575
task :build => [:clean_pkg_directories] do
76-
run_command "rake build"
76+
run_command "bin/rake build"
7777
end
7878

7979
task :clean_pkg_directories do
@@ -82,12 +82,12 @@ namespace :gem do
8282

8383
desc "Tag each repo, push the tags, push the gems"
8484
task :release do
85-
run_command("rake release")
85+
run_command "bin/rake release"
8686
end
8787

8888
desc "Install all gems locally"
8989
task :install do
90-
run_command "rake install"
90+
run_command "bin/rake install"
9191
end
9292

9393
desc "Uninstall gems locally"
@@ -158,7 +158,7 @@ namespace :git do
158158
end
159159

160160
task :clobber do
161-
run_command "rake clobber"
161+
run_command "bin/rake clobber"
162162
end
163163

164164
namespace :bundle do
@@ -179,13 +179,13 @@ end
179179
task :setup => ["git:clone", "bundle:install"]
180180

181181
task :default do
182-
run_command 'rake'
182+
run_command "bin/rake"
183183
end
184184

185185
desc "publish cukes to relishapp.com"
186186
task :relish, :version do |_, args|
187187
raise "rake relish[VERSION]" unless args[:version]
188-
run_command "rake relish['#{args[:version]}']", :except => ['rspec']
188+
run_command "bin/rake relish['#{args[:version]}']", :except => ['rspec']
189189
end
190190

191191
desc "generate release notes from changelogs"

0 commit comments

Comments
 (0)