```ruby
require 'fileutils'
include FileUtils

require 'rubygems'
%w[rake hoe newgem rubigen actionpack activesupport].each do |req_gem|
  begin
    require req_gem
  rescue LoadError
    puts "This Rakefile requires the '#{req_gem}' RubyGem."
    puts "Installation: gem install #{req_gem} -y"
    exit
  end
end

$:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))

require 'sproutcore'```

Swap load order of activesupport and action pack.\nThis is not technically required but it causes them to load in the actual order they are required.
user
```ruby
require 'fileutils'
include FileUtils

require 'rubygems'
%w[rake hoe newgem rubigen activesupport actionpack].each do |req_gem|
  begin
    require req_gem
  rescue LoadError
    puts "This Rakefile requires the '#{req_gem}' RubyGem."
    puts "Installation: gem install #{req_gem} -y"
    exit
  end
end

$:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))

require 'sproutcore'```
assistant