title: Error loading 'teamcity' file when running `Cucumber ./features`
body: <p>Currently, I am trying to use Cucumber to run tests in a Ruby on Rails application.</p>
  
  <pre><code>cucumber ./features --tags ~@javascript
  </code></pre>
  
  <p>Whenever I run this command however, I get the following error related to <code>teamcity</code></p>
  
  <pre><code>Using the default profile...
  cannot load such file -- teamcity/spec/runner/formatter/teamcity/formatter (LoadError)
  </code></pre>
  
  <p>I've tried using solutions given in other related questions but can't seem to get it to work, unless there's something I'm missing.</p>
  
  <p>Versions</p>
  
  <ul>
  <li><p>Ruby 2.0.0p648 (2015-12-16 revision 53162)</p></li>
  <li><p>Rails 3.2.21</p></li>
  <li>Ubuntu 16.04</li>
  </ul>
  
  <p>Full Error</p>
  
  <pre><code>cannot load such file -- teamcity/spec/runner/formatter/teamcity/formatter (LoadError)
  /home/d/dev/sareform/features/support/env.rb:22:in `require'
  /home/d/dev/sareform/features/support/env.rb:22:in `block in &lt;top (required)&gt;'
  /home/d/.rvm/gems/ruby-2.0.0-p648/gems/spork-1.0.0rc4/lib/spork.rb:24:in `prefork'
  /home/d/dev/sareform/features/support/env.rb:4:in `&lt;top (required)&gt;'
  /home/d/.rvm/gems/ruby-2.0.0-p648/gems/cucumber-1.2.1/lib/cucumber/rb_support/rb_language.rb:129:in `load'
  /home/d/.rvm/gems/ruby-2.0.0-p648/gems/cucumber-1.2.1/lib/cucumber/rb_support/rb_language.rb:129:in `load_code_file'
  /home/d/.rvm/gems/ruby-2.0.0-p648/gems/cucumber-1.2.1/lib/cucumber/runtime/support_code.rb:171:in `load_file'
  /home/d/.rvm/gems/ruby-2.0.0-p648/gems/cucumber-1.2.1/lib/cucumber/runtime/support_code.rb:83:in `block in load_files!'
  /home/d/.rvm/gems/ruby-2.0.0-p648/gems/cucumber-1.2.1/lib/cucumber/runtime/support_code.rb:82:in `each'
  /home/d/.rvm/gems/ruby-2.0.0-p648/gems/cucumber-1.2.1/lib/cucumber/runtime/support_code.rb:82:in `load_files!'
  /home/d/.rvm/gems/ruby-2.0.0-p648/gems/cucumber-1.2.1/lib/cucumber/runtime.rb:175:in `load_step_definitions'
  /home/d/.rvm/gems/ruby-2.0.0-p648/gems/cucumber-1.2.1/lib/cucumber/runtime.rb:40:in `run!'
  /home/d/.rvm/gems/ruby-2.0.0-p648/gems/cucumber-1.2.1/lib/cucumber/cli/main.rb:43:in `execute!'
  /home/d/.rvm/gems/ruby-2.0.0-p648/gems/cucumber-1.2.1/lib/cucumber/cli/main.rb:20:in `execute'
  /home/d/.rvm/gems/ruby-2.0.0-p648/gems/cucumber-1.2.1/bin/cucumber:14:in `&lt;top (required)&gt;'
  /home/d/.rvm/gems/ruby-2.0.0-p648/bin/cucumber:23:in `load'
  /home/d/.rvm/gems/ruby-2.0.0-p648/bin/cucumber:23:in `&lt;main&gt;'
  /home/d/.rvm/gems/ruby-2.0.0-p648/bin/ruby_executable_hooks:15:in `eval'
  /home/d/.rvm/gems/ruby-2.0.0-p648/bin/ruby_executable_hooks:15:in `&lt;main&gt;'
  </code></pre>
  
  <p>Gemfile</p>
  
  <pre><code>gem 'rails', '3.2.21'
  gem 'rake', '10.4.2' 
  ....
  
  gem 'jquery-rails'#, "3.1.2" #old version 1.0.19
  gem 'jquery-ui-rails'
  gem 'rvm'
  gem 'rvm-capistrano',  require: false
  ....
  gem 'coffeebeans'
  ....
  gem 'nokogiri', '&gt;= 1.6'
  gem 'custom_configuration', '~&gt; 0.0.2'
  
  group :test, :test_ram do
    gem 'cucumber'
    gem 'cucumber-rails', :require =&gt; false
    gem 'timecop'
    gem 'guard-zeus'
    gem 'kaminari-rspec'
  end
  
  group :cucumber, :test, :test_ram do
    gem 'i18n'
    gem "rack"
    gem 'rack-test'
    gem 'capybara'
    gem 'database_cleaner'
    gem 'rb-inotify'#, '~&gt; 0.9'
    gem 'libnotify'
    gem 'ffi', '&gt;= 1.0.11'
    gem "factory_girl_rails" #was 1.6.0
    gem "guard"#, "~&gt; 1.1.0"#was 0.10.0
    gem "guard-rspec"
    gem "guard-livereload"
    gem "guard-cucumber", "~&gt;1.2.2" #was 0.7.5
    gem "guard-bundler"
    gem 'guard-webrick', "~&gt; 0.1.2" #was 0.1.0
    gem 'guard-test'
    gem 'spork', '&gt; 0.9.0.rc'
    gem 'guard-spork'
    gem 'selenium-client'
    gem "selenium-webdriver", "~&gt; 2.45.0"
    gem 'cucumber_statistics'
  end
  
  
  group :development, :test, :test_ram do
    gem 'email_spec'
  #  gem 'mocha'#was 0.10.4
    gem 'webrat'
    gem 'rspec-rails' #was 2.8.0
    gem "rspec-activemodel-mocks"
    gem "launchy", '~&gt; 2.1.0' #previously no version identified
    gem "geordi"
    gem 'rb-fsevent'
    gem "zeus"
    gem "parallel_tests"
    gem 'zeus-parallel_tests'
    gem 'jasmine'
    gem 'jasmine-sinon-rails'
    gem 'jasmine-jquery-rails'
  end
  </code></pre>