Ask A Question

Notifications

You’re not receiving notifications from this thread.

syntax error, unexpected tREGEXP_BEG, expecting end-of-input

kumar0205 asked in Rails

I'm trying to run a script but facing the error, I'm pretty new to the rails console.

RAILS_ENV= qubole rails runner db/scripts/migrate_bulk_users_to_new_emails.rb /usr/lib/tapp2/db/scripts/migrate_api_jan06.csv >> /tmp/migrate_log.txt

And facing the following error:

Syntax errors detected :
syntax error, unexpected tREGEXP_BEG, expecting end-of-input (Line 1)

I'm not sure where the error is at all. Please suggest

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,677+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.