Skip to content

Instantly share code, notes, and snippets.

@raarellano
Created May 27, 2015 13:16
Show Gist options
  • Save raarellano/53e06ab2aca6109f72fb to your computer and use it in GitHub Desktop.
Save raarellano/53e06ab2aca6109f72fb to your computer and use it in GitHub Desktop.
Run a ruby file on production
bin/bundle exec rails runner -e production "eval(File.read 'file.rb')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment