我尝试将mysql与ruby连接,我关注此视频 https://www.youtube.com/watch?v=GY7Ps8fqGdc
但是在23:30的视频中,我收到了rake db:schema:dump
的错误,
我不知道,这是我的错误:
irb(main):016:0> rake db:schema:dump
SyntaxError: (irb):16: syntax error, unexpected tLABEL
rake db:schema:dump
^
from /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/console.rb:65:in `start'
from /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/console_helper.rb:9:in `start'
from /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:78:in `console'
from /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
from /usr/local/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'