Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on access enviroment #29

Open
jhonathas opened this issue Jan 2, 2014 · 1 comment
Open

Error on access enviroment #29

jhonathas opened this issue Jan 2, 2014 · 1 comment

Comments

@jhonathas
Copy link

I can not load the environment and have access to models for example, I tried require '/config/boot', require_relative, require 'bundler/setup', does anyone know WHAT could it be?

@jhonathas
Copy link
Author

Go it:

before :all do
require File.expand_path(File.join(File.dirname(FILE), '..', 'config', 'environment'))
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant