Skip to content

Commit 2fc284f

Browse files
jagregoryJames Gregory
authored andcommitted
Switched to using bundler for gem management
1 parent 3acc7b5 commit 2fc284f

File tree

4 files changed

+24
-15
lines changed

4 files changed

+24
-15
lines changed

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source 'http://rubygems.org'
2+
source 'http://gemcutter.org'
3+
4+
gem 'rake'
5+
gem 'albacore'

Gemfile.lock

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
GEM
2+
remote: http://rubygems.org/
3+
remote: http://gemcutter.org/
4+
specs:
5+
albacore (0.2.7)
6+
rubyzip (~> 0.9)
7+
rake (0.9.2.2)
8+
rubyzip (0.9.8)
9+
10+
PLATFORMS
11+
x86-mingw32
12+
13+
DEPENDENCIES
14+
albacore
15+
rake

InstallGems.bat

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
echo Setting up rake environment for building
44

5-
echo Installing Rake
6-
call gem install rake
5+
echo Installing Bundler
6+
gem install bundler
77

8-
call rake setup:ensure_gemcutter_source
9-
10-
echo Installing Albacore v0.1.5 (newer builds bork it!)
11-
call gem install albacore -v 0.1.5
8+
echo Bundle Installing gems
9+
bundle install

RakeFile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require 'fileutils'
2-
gem 'albacore', '> 0.2.4'
32
require 'albacore'
43
require './tools/albacore/nuspec_patch'
54

@@ -12,14 +11,6 @@ end
1211
task :default => 'build:all'
1312

1413
namespace :setup do
15-
task :ensure_gemcutter_source do
16-
puts 'Ensuring gemcutter.org is registered as a gem source'
17-
unless `gem source -l`.include? 'http://gemcutter.org'
18-
puts 'Setting Gemcutter as a gem source'
19-
`gem source -a http://gemcutter.org`
20-
end
21-
end
22-
2314
task :install_mspec, :resharper_version, :vs_version do |t, args|
2415
resharper_version = args[:resharper_version] || '5.1'
2516
vs_version = args[:vs_version] || 10.0

0 commit comments

Comments
 (0)