daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Mar 17th, 2018 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ====== STACKTRACE =======
  2.  
  3. abdul-rahman-advanys-macbook-pro:merbivore abdulrahman$ merb
  4.  ~ Loaded DEVELOPMENT Environment...
  5.  ~ Connecting to database...
  6.  ~ loading gem 'merb_datamapper' ...
  7. /Library/Ruby/Gems/1.8/gems/dm-core-0.9.1/lib/data_mapper/repository.rb:206:in `initialize': Unknown adapter name: default (ArgumentError)
  8.     from /Library/Ruby/Gems/1.8/gems/dm-core-0.9.1/lib/data_mapper.rb:167:in `new'
  9.     from /Library/Ruby/Gems/1.8/gems/dm-core-0.9.1/lib/data_mapper.rb:167:in `repository'
  10.     from /Library/Ruby/Gems/1.8/gems/dm-core-0.9.1/lib/data_mapper/resource.rb:566:in `repository'
  11.     from /Library/Ruby/Gems/1.8/gems/dm-core-0.9.1/lib/data_mapper/resource.rb:594:in `property'
  12.     from /Users/abdulrahman/Development/merbivore/app/models/bla.rb:4
  13.     from /Library/Ruby/Gems/1.8/gems/merb-core-0.9.4/lib/merb-core/bootloader.rb:355:in `load'
  14.     from /Library/Ruby/Gems/1.8/gems/merb-core-0.9.4/lib/merb-core/bootloader.rb:355:in `load_file'
  15.     from /Library/Ruby/Gems/1.8/gems/merb-core-0.9.4/lib/merb-core/bootloader.rb:369:in `load_classes'
  16.      ... 10 levels...
  17.     from /Library/Ruby/Gems/1.8/gems/merb-core-0.9.4/lib/merb-core.rb:87:in `start'
  18.     from /Library/Ruby/Gems/1.8/gems/merb-core-0.9.4/bin/merb:12
  19.     from /usr/bin/merb:19:in `load'
  20.     from /usr/bin/merb:19
  21.  
  22.  
  23. == MY DATABASE.YML ==
  24.  
  25. ---
  26. # This is a sample database file for the DataMapper ORM
  27. development: &defaults
  28.   # These are the settings for repository :default
  29.   :adapter:  mysql
  30.   :database: merbivore_development
  31.   :username: root
  32.   :password:
  33.   :host:     localhost
  34.  
  35.   # Add more repositories
  36.   # repositories:
  37.   #   repo1:
  38.   #     adapter:  postgresql
  39.   #     database: sample_development
  40.   #     username: the_user
  41.   #     password: secrets
  42.   #     host:     localhost
  43.   #   repo2:
  44.   #     ...
  45.  
  46. test:
  47.   <<:       *defaults
  48.   :database: sample_test
  49.  
  50.   # repositories:
  51.   #   repo1:
  52.   #     database: sample_development
  53.  
  54. production:
  55.   <<:       *defaults
  56.   :database: sample_production
  57.  
  58.   # repositories:
  59.   #   repo1:
  60.   #     database: sample_development
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top