```ruby
# By placing all of Spree's shared dependencies in this file and then loading
# it for each component's Gemfile, we can be sure that we're only testing just
# the one component of Spree.
source 'https://rubygems.org'

gem 'json'
gem 'multi_json'
gem 'mysql2'
gem 'pg'
gem 'sqlite3'

gem 'coffee-rails', '~> 4.0.0.rc1'
gem 'sass-rails', '~> 4.0.0.rc1'

gem 'ransack', github: 'ernie/ransack', branch: 'rails-4'

group :test do
  gem 'capybara', '~> 2.1'
  gem 'database_cleaner', '~> 1.0.1'
  gem 'email_spec', '1.4.0'
  gem 'factory_girl_rails', '~> 4.2.1'
  gem 'launchy'
  gem 'pry'
  gem 'rspec-rails', '~> 2.14.0'
  gem 'selenium-webdriver', '~> 2.33'
  gem 'simplecov'
  gem 'webmock', '1.8.11'
end

gemspec
```

Use a awesome_nested_set github fork for Rails 4
user
```ruby
# By placing all of Spree's shared dependencies in this file and then loading
# it for each component's Gemfile, we can be sure that we're only testing just
# the one component of Spree.
source 'https://rubygems.org'

gem 'json'
gem 'multi_json'
gem 'mysql2'
gem 'pg'
gem 'sqlite3'

gem 'coffee-rails', '~> 4.0.0.rc1'
gem 'sass-rails', '~> 4.0.0.rc1'

gem 'ransack', github: 'ernie/ransack', branch: 'rails-4'
gem 'awesome_nested_set', github: 'huoxito/awesome_nested_set', branch: 'rails4'

group :test do
  gem 'capybara', '~> 2.1'
  gem 'database_cleaner', '~> 1.0.1'
  gem 'email_spec', '1.4.0'
  gem 'factory_girl_rails', '~> 4.2.1'
  gem 'launchy'
  gem 'pry'
  gem 'rspec-rails', '~> 2.14.0'
  gem 'selenium-webdriver', '~> 2.33'
  gem 'simplecov'
  gem 'webmock', '1.8.11'
end

gemspec
```
assistant