Re: rake precompile:assets throwing error

Colin Law
2013-05-15T14:05:31Z

On 14 May 2013 08:07, sith
<sithu.1989-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> While running rake precompile:assets i''m getting the following
error
>
> This is the error message:
> rake assets:precompile:all RAILS_ENV=production
> rake aborted!
> undefined local variable or method `establish_connection'' for
> ActiveRecord::Base:Class

Do you get the same error when you start the server or run rake
db:migrate for example?

Colin