Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. Running: rake assets:precompile
  2. rake aborted!
  3. could not connect to server: Connection refused
  4. Is the server running on host "127.0.0.1" and accepting
  5. TCP/IP connections on port 5432?
  6.  
  7. config.assets.initialize_on_precompile = false
  8.  
  9. Running rake db:create attached to terminal... up, run.4115
  10. rake aborted!
  11. undefined local variable or method `config' for main:Object
  12. /app/config/application.rb:5:in `<top (required)>'
  13. /app/Rakefile:5:in `require'
  14. /app/Rakefile:5:in `<top (required)>'
  15.  
  16. config.assets.initialize_on_precompile = false
  17.  
  18. config/application.rb:5:in `<top (required)>': undefined local variable or method `config' for main:Object (NameError)
  19.  
  20. module YourApplicationName
  21. class Application < Rails::Application
  22.  
  23. config.assets.initialize_on_precompile = false
  24.  
  25. group :development, :test do
  26. gem 'sqlite3'
  27. end
  28.  
  29. group :production do
  30. gem 'pg'
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement