Skip to content

Instantly share code, notes, and snippets.

@mikz
Created July 4, 2012 09:48
Show Gist options
  • Save mikz/3046421 to your computer and use it in GitHub Desktop.
Save mikz/3046421 to your computer and use it in GitHub Desktop.
script/pry for Rails 2.3
#!/usr/bin/env ruby
console = File.expand_path(File.dirname(__FILE__), '.') + "/console"
exec console, *ARGV, '--irb=pry'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment