tpope/vim-rails — Issue #132: Rails 3 scripts failing - 'E488: Trailing characters'
Author: pcooly
Created: 2011-11-21 04:24:37+00:00
State: open

Error occurs when running commands in vim (in a rails directory):
:Rscript console
:Rconsole
:Rgenerate
:Rdestroy
:Rserver

After entering the command it fails and shows 'E488: Trailing characters' in the command line.

Anything that should use the ruby script/rails command seems to be broken. Documentation says that it calls:
ruby script/{script} {options}
but Rails 3 style would be like:
ruby script/rails {script} {options}

I tried calling like:
:Rscript rails console
but got the same error.

Using Ruby 1.9.2 and Rails 3.0.3