SHARE
TWEET

Untitled

a guest Feb 4th, 2016 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Ruby 1.9.2
  2. Rails 3.1.0
  3. rubygems 1.8.18
  4.    
  5. development:
  6.   adapter: sqlite3
  7.   database: development
  8.   pool: 5
  9.   timeout: 5000
  10. production:
  11.   adapter: mysql
  12.   database: depot_production
  13.   encoding: utf8
  14.   host: localhost
  15.   password: password
  16.   pool: 5
  17.   reconnect: false
  18.   socket: /var/run/mysqld/mysqld.sock
  19.   username: username
  20. test:
  21.    adapter: sqlite3
  22.    database: db/test.sqlite3
  23.    pool: 5
  24.    timeout: 5000
  25.    
  26. root@HAL3:/var/www/repos/depot/depot_old# rake db:setup RAILS_ENV="production" --trace
  27. ** Invoke db:setup (first_time)
  28. ** Invoke db:create (first_time)
  29. ** Invoke db:load_config (first_time)
  30. ** Invoke rails_env (first_time)
  31. ** Execute rails_env
  32. ** Execute db:load_config
  33. rake aborted!
  34. syntax error on line 1, col 9: `    adapter: sqlite3'
  35. /usr/local/rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/syck.rb:135:in `load'
  36. /usr/local/rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/syck.rb:135:in `load'
  37. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/railties-3.1.0/lib/rails/application/configuration.rb:100:in `database_configuration'
  38. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/activerecord-3.1.0/lib/active_record/railties/databases.rake:6:in `block (2 levels) in <top (required)>'
  39. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
  40. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
  41. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
  42. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
  43. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
  44. /usr/local/rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
  45. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
  46. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `block in invoke_prerequisites'
  47. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
  48. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
  49. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `block in invoke_with_call_chain'
  50. /usr/local/rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
  51. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
  52. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `block in invoke_prerequisites'
  53. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
  54. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
  55. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `block in invoke_with_call_chain'
  56. /usr/local/rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
  57. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
  58. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
  59. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
  60. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
  61. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
  62. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
  63. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
  64. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
  65. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
  66. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
  67. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
  68. /usr/local/rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
  69. /usr/local/rvm/gems/ruby-1.9.2-p318/bin/rake:19:in `load'
  70. /usr/local/rvm/gems/ruby-1.9.2-p318/bin/rake:19:in `<main>'
  71. Tasks: TOP => db:setup => db:create => db:load_config
  72.    
  73. require 'yaml'
  74. YAML::ENGINE.yamler = 'syck'
  75.    
  76. gem update -system
  77.    
  78. development:
  79.   adapter: sqlite3
  80.   database: development
  81.   pool: 5
  82.   timeout: 5000
  83. production:
  84.   adapter: mysql
  85.   database: depot_production
  86.   encoding: utf8
  87.   host: localhost
  88.   password: password
  89.   pool: 5
  90.   reconnect: false
  91.   socket: /var/run/mysqld/mysqld.sock
  92.   username: username
  93. test:
  94.   adapter: sqlite3
  95.   database: db/test.sqlite3
  96.   pool: 5
  97.   timeout: 5000
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