Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
try to force rake 10.0.2 everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Dec 1, 2012
1 parent 96fc0e1 commit 2a1fb62
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
@@ -1,8 +1,11 @@
language: ruby
script: rake spec:travis
before_script:
- rake --version
- sudo apt-get install groff -y
- rake spec:deps
- gem list rake
- rake --version
notifications:
email:
- mail@arko.net
Expand Down
1 change: 1 addition & 0 deletions Rakefile
Expand Up @@ -22,6 +22,7 @@ namespace :spec do
task :deps do
sh "#{Gem.ruby} -S gem list ronn | (grep 'ronn' 1> /dev/null) || #{Gem.ruby} -S gem install ronn --no-ri --no-rdoc"
sh "#{Gem.ruby} -S gem list rspec | (grep 'rspec (2.' 1> /dev/null) || #{Gem.ruby} -S gem install rspec --no-ri --no-rdoc"
sh "#{Gem.ruby} -S gem list rake | (grep 'rake (10.' 1> /dev/null) || #{Gem.ruby} -S gem install rake -v '~> 10.0.2' --no-ri --no-rdoc"
end
end

Expand Down
2 changes: 1 addition & 1 deletion spec/install/gemspec_spec.rb
Expand Up @@ -114,7 +114,7 @@
build_lib("foo", :path => tmp.join("foo")) do |s|
s.write("Gemfile", "source 'file://#{gem_repo1}'\ngemspec")
s.add_dependency "actionpack", "=2.3.2"
s.add_development_dependency "rake", '=0.8.7'
s.add_development_dependency "rake", '=10.0.2'
end

Dir.chdir(tmp.join("foo")) do
Expand Down
4 changes: 2 additions & 2 deletions spec/lock/lockfile_spec.rb
Expand Up @@ -317,8 +317,8 @@
actionpack (= 2.3.2)
activerecord (= 2.3.2)
activeresource (= 2.3.2)
rake (= 0.8.7)
rake (0.8.7)
rake (= 10.0.2)
rake (10.0.2)
PLATFORMS
#{generic(Gem::Platform.local)}
Expand Down
2 changes: 1 addition & 1 deletion spec/other/newgem_spec.rb
Expand Up @@ -73,7 +73,7 @@
end

it "runs rake without problems" do
system_gems ["rake-0.8.7"]
system_gems ["rake-10.0.2"]

rakefile = <<-RAKEFILE
task :default do
Expand Down
2 changes: 1 addition & 1 deletion spec/other/show_spec.rb
Expand Up @@ -41,7 +41,7 @@

it "prints path of all gems in bundle" do
bundle "show --paths"
expect(out).to include(default_bundle_path('gems', 'rake-0.8.7').to_s)
expect(out).to include(default_bundle_path('gems', 'rake-10.0.2').to_s)
expect(out).to include(default_bundle_path('gems', 'rails-2.3.2').to_s)
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/support/builders.rb
Expand Up @@ -35,7 +35,7 @@ def build_repo1

build_gem "rails", "2.3.2" do |s|
s.executables = "rails"
s.add_dependency "rake", "0.8.7"
s.add_dependency "rake", "10.0.2"
s.add_dependency "actionpack", "2.3.2"
s.add_dependency "activerecord", "2.3.2"
s.add_dependency "actionmailer", "2.3.2"
Expand Down

0 comments on commit 2a1fb62

Please sign in to comment.