diff options
author | Arun Agrawal <arunagw@gmail.com> | 2012-11-10 17:34:39 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2012-11-10 17:34:39 +0530 |
commit | c33c991eabd628b172bc219de1bf25fd75e93c93 (patch) | |
tree | 4d6b309baee25c320902abddbaf28c145bd9f145 /railties/lib | |
parent | 90a1721c3171bce08b20b9ce4765ba9eeea725cd (diff) | |
download | rails-c33c991eabd628b172bc219de1bf25fd75e93c93.tar.gz rails-c33c991eabd628b172bc219de1bf25fd75e93c93.tar.bz2 rails-c33c991eabd628b172bc219de1bf25fd75e93c93.zip |
Removing warning : assigned but unused variable
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/commands/dbconsole.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/dbconsole.rb b/railties/lib/rails/commands/dbconsole.rb index c84fa832f5..90359d1c08 100644 --- a/railties/lib/rails/commands/dbconsole.rb +++ b/railties/lib/rails/commands/dbconsole.rb @@ -154,7 +154,7 @@ module Rails full_path_command = nil found = commands.detect do |cmd| - dir = dirs_on_path.detect do |path| + dirs_on_path.detect do |path| full_path_command = File.join(path, cmd) File.executable? full_path_command end |