title: NoMethodError: undefined method `fetch' for "QLite version 3.x":String
body: <p>I am seeing this error when i am trying to deploy my rails app to production</p>
  
  <pre><code>SSHKit::Runner::ExecuteError: Exception while executing on host xxx.xxx.xxx.xx: rake exit status: 1
  rake stdout: Nothing written
  rake stderr: rake aborted!
  NoMethodError: undefined method `fetch' for "QLite version 3.x":String
  </code></pre>
  
  <p>This error is invoked by th command</p>
  
  <pre><code>Command: cd /home/deploy/myapp/releases/20140616034148 &amp;&amp; ( RAILS_ENV=production ~/.rvm/bin/rvm default do bundle exec rake assets:precompile )
  </code></pre>
  
  <p>capfile </p>
  
  <pre><code># Load DSL and Setup Up Stages
  require 'capistrano/setup'
  
  # Includes default deployment tasks
  require 'capistrano/deploy'
  require 'capistrano/bundler'
  require 'capistrano/rails'
  require 'capistrano/rvm'
  set :rvm_ruby_version, '2.1.2'
  require 'capistrano/rails/assets'
  require 'capistrano/rails/migrations'
  </code></pre>
  
  <p>deploy.rb</p>
  
  <pre><code>lock '3.1.0'
  set :application, 'myapp'
  set :repo_url, 'git@bitbucket.org:username/myapp.git'
  set :deploy_to, '/home/deploy/myapp'
  set :branch, "master"
  set :linked_files, %w{config/database.yml}
  set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system}
  namespace :deploy do
    desc 'Restart application'
    task :restart do
      on roles(:app), in: :sequence, wait: 5 do
        # Your restart mechanism here, for example:
         execute :touch, release_path.join('tmp/restart.txt')
      end
    end
  </code></pre>
  
  <p>production.rb</p>
  
  <pre><code>set :stage, :production
  role :app, %w{deploy@xxx.xxx.xxx.xx}
  role :web, %w{deploy@xxx.xxx.xxx.xx}
  role :db,  %w{deploy@xxx.xxx.xxx.xx}
  set :password, ask('Server password', nil)
  server '107.170.187.98', user: 'deploy', password: fetch(:password), roles: %w{web app}
  set :bundle_env_variables, { 'NOKOGIRI_USE_SYSTEM_LIBRARIES' =&gt; 1 }
  </code></pre>
  
  <p>I dont understand what is causing this issue. Can someone plz point me out in right direction.</p>