```ruby
$LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
require 'rspec/rails/version'

gem 'rspec-rails', :path => File.expand_path('../../../', __FILE__)

```

Use paths relative to rspec-rails directory in template
user
```ruby
$LOAD_PATH.unshift(File.expand_path('../lib', __FILE__))
require 'rspec/rails/version'

gem 'rspec-rails', :path => File.expand_path('../', __FILE__)

```
assistant