mirror of
https://github.com/pry/pry-rails.git
synced 2022-11-09 12:36:03 -05:00
works for Rails >= 3
This commit is contained in:
parent
1fd88d3cf7
commit
ec9068a2de
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
require "pry-rails/version"
|
||||
|
||||
module PryRails
|
||||
if(defined?(::Rails) and ::Rails.version[/^3/])
|
||||
if(defined?(::Rails) and ::Rails.version >= "3")
|
||||
class Railtie < ::Rails::Railtie
|
||||
silence_warnings do
|
||||
begin
|
||||
|
|
Loading…
Reference in a new issue