Skip to content

Run ruby apps that use a separate bundle than eye itself

Tim Garton edited this page Mar 1, 2014 · 2 revisions
  Eye.application :myapp do
    working_dir '/my/app/root'
    if File.exist? File.join(working_dir, 'Gemfile')
      clear_bundler_env
      env 'BUNDLE_GEMFILE' => File.join(working_dir, 'Gemfile')
    end

    ...
  end