Skip to content

Commit

Permalink
Load pligit/descriptor first so proper environment is loaded.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber committed Apr 4, 2009
1 parent 1043017 commit d2e144d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))

require File.join(File.dirname(__FILE__), 'plugit/descriptor')
require 'rubygems'
require 'spec/rake/spectask'

Expand Down
2 changes: 1 addition & 1 deletion plugit/descriptor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

dataset.environment :default, 'Released versions of Rails and RSpec' do |env|
env.library :rails, :export => "git clone git://github.com/rails/rails.git" do |rails|
rails.after_update { `git fetch origin 2-2-stable:2-2-stable; git co 2-2-stable` }
rails.after_update { `git fetch origin 2-2-stable:2-2-stable; git checkout 2-2-stable` }
rails.load_paths = %w{/activesupport/lib /activerecord/lib /actionpack/lib}
rails.requires = %w{active_support active_record active_record/fixtures action_controller action_view}
end
Expand Down

0 comments on commit d2e144d

Please sign in to comment.