diff --git a/.pryrc b/.pryrc deleted file mode 100644 index c1b3a02..0000000 --- a/.pryrc +++ /dev/null @@ -1,26 +0,0 @@ -# Load plugins (only those I whitelist) -Pry.config.should_load_plugins = false -Pry.plugins["doc"].activate! - -# Launch Pry with access to the entire Rails stack. -# If you have Pry in your Gemfile, you can pass: ./script/console --irb=pry instead. -# If you don't, you can load it through the lines below :) -rails = File.join Dir.getwd, 'config', 'environment.rb' - -if File.exist?(rails) && ENV['SKIP_RAILS'].nil? - begin - require rails - rescue SystemExit - raise "an attempt to load rails resulted in #{$!.class} call" - end - - if Rails.version[0..0] == "2" - require 'console_app' - require 'console_with_helpers' - elsif Rails.version[0..0] == "3" - require 'rails/console/app' - require 'rails/console/helpers' - else - warn "[WARN] cannot load Rails console commands (Not on Rails2 or Rails3?)" - end -end