Guest User

Untitled

a guest
May 23rd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. ## database.yml
  2.  
  3. development: &defaults
  4. dbfile: db/development.sqlite
  5. adapter: sqlite3
  6.  
  7. test:
  8. <<: *defaults
  9. dbfile: db/test.sqlite
  10.  
  11. production:
  12. <<: *defaults
  13. dbfile: db/production.sqlite
  14.  
  15. ## error
  16.  
  17. ~ Connecting to database...
  18. /opt/local/lib/ruby/gems/1.8/gems/addressable-1.0.4/lib/addressable/uri.rb:1216:in `validate': Absolute URI missing hierarchical segment. (Addressable::URI::InvalidURIError)
  19. from /opt/local/lib/ruby/gems/1.8/gems/addressable-1.0.4/lib/addressable/uri.rb:514:in `initialize'
  20. from /opt/local/lib/ruby/gems/1.8/gems/dm-core-0.9.6/lib/dm-core/adapters/data_objects_adapter.rb:137:in `new'
  21. from /opt/local/lib/ruby/gems/1.8/gems/dm-core-0.9.6/lib/dm-core/adapters/data_objects_adapter.rb:137:in `normalize_uri'
  22. from /opt/local/lib/ruby/gems/1.8/gems/dm-core-0.9.6/lib/dm-core/adapters/abstract_adapter.rb:44:in `initialize'
  23. from /opt/local/lib/ruby/gems/1.8/gems/dm-core-0.9.6/lib/dm-core/adapters/data_objects_adapter.rb:159:in `initialize'
  24. from /opt/local/lib/ruby/gems/1.8/gems/dm-core-0.9.6/lib/dm-core.rb:157:in `new'
  25. from /opt/local/lib/ruby/gems/1.8/gems/dm-core-0.9.6/lib/dm-core.rb:157:in `setup'
  26. from /opt/local/lib/ruby/gems/1.8/gems/merb_datamapper-0.9.9/lib/merb/orms/data_mapper/connection.rb:44:in `setup_connections'
  27. from /opt/local/lib/ruby/gems/1.8/gems/merb_datamapper-0.9.9/lib/merb/orms/data_mapper/connection.rb:27:in `connect'
  28. from /opt/local/lib/ruby/gems/1.8/gems/merb_datamapper-0.9.9/lib/merb_datamapper.rb:16:in `run'
  29. from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.10/lib/merb-core/bootloader.rb:99:in `run'
  30. from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.10/lib/merb-core/server.rb:171:in `bootup'
  31. from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.10/lib/merb-core/server.rb:42:in `start'
  32. from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.10/lib/merb-core.rb:132:in `start'
  33. from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.10/bin/merb:11
  34. from /opt/local/bin/merb:19:in `load'
  35. from /opt/local/bin/merb:19
Add Comment
Please, Sign In to add comment