aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-05-09 20:36:27 +0200
committerTeddy Wing2017-05-09 20:36:27 +0200
commit3e04642dc5eebbb7e4d7b6e51f7931d4a6ae6609 (patch)
tree05164fda48d2815345911af43bc9f9377b188e2f
parent67c870705085d44b99e9d0ca1361f9d62c133715 (diff)
parent27eaa02d28cc07ceb59a51529100ee4b7016a38f (diff)
downloaddbshell-rails-3e04642dc5eebbb7e4d7b6e51f7931d4a6ae6609.tar.bz2
Merge branch 'fix-undefined-method-desc-exception'
-rw-r--r--lib/dbshell/rails.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/dbshell/rails.rb b/lib/dbshell/rails.rb
index 0e18f6b..1b60b48 100644
--- a/lib/dbshell/rails.rb
+++ b/lib/dbshell/rails.rb
@@ -1,6 +1,8 @@
require 'dbshell/rails/version'
-load 'dbshell/rails/tasks/dbshell.rake'
+if defined?(Rake)
+ load 'dbshell/rails/tasks/dbshell.rake'
+end
module DBShell
module Rails