title: Could not find gem 'rails (= 4.2.5) x86-mingw32' when running rails server
body: <p>I'm trying to learn Ruby on Rails.
  Currently been trying out Rails framework. I've installed it. Create new project in MyBlog folder, but when I try to run:</p>
  
  <pre><code>rails server
  </code></pre>
  
  <p>I get back an error:</p>
  
  <pre><code>Could not find gem 'rails (= 4.2.5) x86-mingw32' in any of the gem sources listed in your Gemfile or available on this machine. Run `bundle install` to install missing gems.
  </code></pre>
  
  <p>I've installed bundle as suggested. Had few problems with installing it as well, but I've found a soultion on the internet.</p>
  
  <p>Before bundle install I was getting another error saying that it could not find gem 'sqlite3'</p>
  
  <p><a href="https://i.stack.imgur.com/BKWnl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BKWnl.png" alt="enter image description here"></a></p>
  
  <p>Did someone had similar problem? Can you help me with solving it?</p>
  
  <p>Update:</p>
  
  <p>Content of my Gemfile is:</p>
  
  <pre><code>source 'https://rubygems.org'
  
  
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  gem 'rails', '4.2.5'
  # Use sqlite3 as the database for Active Record
  gem 'sqlite3'
  # Use SCSS for stylesheets
  gem 'sass-rails', '~&gt; 5.0'
  # Use Uglifier as compressor for JavaScript assets
  gem 'uglifier', '&gt;= 1.3.0'
  # Use CoffeeScript for .coffee assets and views
  gem 'coffee-rails', '~&gt; 4.1.0'
  # See https://github.com/rails/execjs#readme for more supported runtimes
  # gem 'therubyracer', platforms: :ruby
  
  # Use jquery as the JavaScript library
  gem 'jquery-rails'
  # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
  gem 'turbolinks'
  # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  gem 'jbuilder', '~&gt; 2.0'
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', '~&gt; 0.4.0', group: :doc
  
  # Use ActiveModel has_secure_password
  # gem 'bcrypt', '~&gt; 3.1.7'
  
  # Use Unicorn as the app server
  # gem 'unicorn'
  
  # Use Capistrano for deployment
  # gem 'capistrano-rails', group: :development
  
  group :development, :test do
    # Call 'byebug' anywhere in the code to stop execution and get a debugger console
    gem 'byebug'
  end
  
  group :development do
    # Access an IRB console on exception pages or by using &lt;%= console %&gt; in views
    gem 'web-console', '~&gt; 2.0'
  end
  
  # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  </code></pre>
  
  <p>Errors when try to run 'bundle install':</p>
  
  <p><a href="https://i.stack.imgur.com/dKxa1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dKxa1.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/Ncbxu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ncbxu.png" alt="enter image description here"></a></p>