Replace in your config/application.rb
require "rails/all"with:
require "rails"You have your Rails Apps with specific Gemsets in RVM.
The following commands creates a wrapped unicorn_rails bin. Be sure to replace the variables and that you have unicorn in your bundle.
rvmsudo rvm wrapper [RUBY VERSION]@[GEMSET] [GEMSET] unicorn_rails
Now you have a /usr/local/rvm/bin/[GEMSET]_unicorn_rails I will refer to [GEMSET]_unicorn_rails as [WRAPPED_NAME]
| # == Using environment specific yaml fixtures as seed data in Rails 2.3.4 | |
| # | |
| # Setup your directory structure like below: | |
| # | |
| # -- RAILS_ROOT | |
| # `-- db | |
| # |-- seeds | |
| # | |-- development | |
| # | | |-- books.yml | |
| # | | `-- users.yml |