diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-04-13 18:01:36 -0300 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-04-13 14:23:38 -0700 |
commit | bd34df00cf7f9d4d123884095bd82f68c29279ce (patch) | |
tree | d7661a36021d4ea23223222b01d898de0644a7be /bin/rails | |
parent | 8e9df34fa3fd22719d939ba72f19b3ae9ffcc018 (diff) | |
download | rails-bd34df00cf7f9d4d123884095bd82f68c29279ce.tar.gz rails-bd34df00cf7f9d4d123884095bd82f68c29279ce.tar.bz2 rails-bd34df00cf7f9d4d123884095bd82f68c29279ce.zip |
Bring back bin/rails to life on edge
Diffstat (limited to 'bin/rails')
-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 |