Skip to content

Rails 3 scripts failing - 'E488: Trailing characters' #132

@tekt8tket

Description

@tekt8tket

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions