-
Notifications
You must be signed in to change notification settings - Fork 501
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
undefined method 'join' for nil:NilClass - Rails #155
Comments
Also a request for the readme: any time an env variable stored in the .env file is called, the source needs to be wrapped in erb tags. e.g. in
|
Yeah, this is a known bug. Rails 4.1ish break |
My work around for now is
|
cheers, will give it a try on the next project - probably about 2 weeks or so |
Thanks, mcnally code works for me. Dotenv.load(File.expand_path("../../.env.#{Rails.env}", FILE)) |
Followed the instructions on the readme and found an error at the point where the config/application.rb instructs the following:
Error:
Rails console and rspec failed to run with the error.
Patched the error by entirely removing:
and then adding the following inside the rails application module/class:
Is this a known bug?
The text was updated successfully, but these errors were encountered: