bundle install error - Your bundle only supports platforms [] but your local platforms are ["ruby", "x86_64-linux"] : <p>Getting this error doing a bundle install; google around seems like a common issue but I can't seem to find the fix (seem suggestion on Gemfile.lock but I moved that file to another directory)</p>

<pre><code># bundle install

Your bundle only supports platforms [] but your local platforms are ["ruby", "x86_64-linux"], and there's no compatible match between those two lists.
</code></pre>

<p>Here's my Gemfile and there is no Gemfile.lock in the directory.</p>

<pre><code>[root@ip-172-30-4-16 rails]# gem -v
2.6.11
[root@ip-172-30-4-16 rails]# ruby -v
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux]
[root@ip-172-30-4-16 rails]# bundle -v
Bundler version 1.14.6

[root@ip-172-30-4-16 rails]# cat Gemfile
source 'http://rubygems.org'

gem 'echoe'
gem 'rails', '~&gt; 3.2.11'
gem 'mysql2'
gem 'prawn', '~&gt; 0.5.0.1'
gem 'prawn-core', '~&gt; 0.5.0.1', :require =&gt; 'prawn/core'
gem 'prawn-layout', '~&gt; 0.2.0.1', :require =&gt; 'prawn/layout'
gem 'prawn-format', '~&gt; 0.2.0.1', :require =&gt; 'prawn/format'
gem 'spreadsheet', '~&gt; 0.6.5'
gem 'libxml-ruby', :require =&gt; 'libxml_ruby'
gem 'faker'
gem 'json'
gem 'rake'
gem 'jquery-rails'
gem 'therubyracer'
gem 'delayed_job_active_record'
gem 'daemons'
gem 'memcache-client'
gem 'rb-readline'
gem 'rubyzip', '~&gt; 1.0.0'
gem 'zip-zip' # Rubyzip old API compatibility addon

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '~&gt; 3.2.3'
  gem 'coffee-rails', '~&gt; 3.2.1'
  gem 'uglifier', '&gt;= 1.0.3'
end

#group :development do
#  gem 'ruby-debug19'
#end

group :test do
  gem 'flexmock', '= 0.9.0'
  gem 'machinist', '= 2.0'
  gem 'test-unit', '~&gt; 1.2.3'
  # Use SimpleCov and Coveralls for test coverage reports
  gem 'simplecov'
  gem 'coveralls'
end

group :production do
  gem 'passenger'
end

group :test, :development do
  gem 'rspec-rails', '~&gt; 2.0'
end
</code></pre>
