New Discussion

Notifications

You’re not receiving notifications from this thread.

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

0
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

Join the discussion
Create an account Log in

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.