diff options
-rwxr-xr-x | bin/rails | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1 +1,7 @@ -require 'rails/cli' +begin + require "rails/cli" +rescue LoadError + railties_path = File.expand_path('../../railties/lib', __FILE__) + $:.unshift(railties_path) + require "rails/cli" +end |