title: What's wrong with my Gemfile?
body: <p>I tried to bundle install, but here is what I got:</p>
  
  <pre><code>/home/mywebsite/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/site_ruby/1.9.1/rubygems/version.rb:187:in `initialize': Malformed version number string = 1.0.3 (ArgumentError)
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/lockfile_parser.rb:104:in `new'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/lockfile_parser.rb:104:in `parse_spec'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/lockfile_parser.rb:71:in `parse_source'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/lockfile_parser.rb:30:in `block in initialize'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/lockfile_parser.rb:24:in `each'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/lockfile_parser.rb:24:in `initialize'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/definition.rb:44:in `new'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/definition.rb:44:in `initialize'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/dsl.rb:148:in `new'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/dsl.rb:148:in `to_definition'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/dsl.rb:8:in `evaluate'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/definition.rb:18:in `build'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler.rb:144:in `definition'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/cli.rb:228:in `install'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/vendor/thor/task.rb:27:in `run'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/vendor/thor/invocation.rb:120:in `invoke_task'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/vendor/thor.rb:275:in `dispatch'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/vendor/thor/base.rb:408:in `start'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/bin/bundle:14:in `block in &lt;top (required)&gt;'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb:4:in `with_friendly_errors'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/gems/bundler-1.2.3/bin/bundle:14:in `&lt;top (required)&gt;'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/bin/bundle:19:in `load'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@global/bin/bundle:19:in `&lt;main&gt;'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@mywebsiter/bin/ruby_noexec_wrapper:14:in `eval'
         /home/mywebsite/.rvm/gems/ruby-1.9.3-p362@mywebsiter/bin/ruby_noexec_wrapper:14:in `&lt;main&gt;'
  There was an error in your Gemfile, and Bundler cannot continue.
  </code></pre>
  
  <p><strong>EDIT</strong> 
  Here is my Gemfile:</p>
  
  <pre><code>source 'https://rubygems.org'
  
  
  gem 'rails', '3.2.11'
  
  gem 'rake' , '&gt;= 10.0.1'
  
  # Bundle edge Rails instead:
  # gem 'rails', :git =&gt; 'git://github.com/rails/rails.git'
  gem "rmagick", "~&gt; 2.13.1"
  gem "paperclip", "~&gt; 3.0"
  gem 'aws-sdk'
  gem "fog"
  
  gem 'bootstrap-wysihtml5-rails', :require =&gt; 'bootstrap-wysihtml5-rails',
      :git =&gt; 'git://github.com/Nerian/bootstrap-wysihtml5-rails.git'
  
  #gem "asset_sync"
  
  #gem 'sendgrid'
  gem "tweet-button"
  #gem "fb-localizer"
  
  #gem 'easy_roles'
  
  gem 'pg'
  gem 'google-analytics-rails'
  gem 'jquery-rails-cdn'
  gem 'spinjs-rails'
  # 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'
  
    # See https://github.com/sstephenson/execjs#readme for more supported runtimes
    # gem 'therubyracer', :platform =&gt; :ruby
    gem 'less-rails-bootstrap'
    gem 'uglifier', '&gt;= 1.0.3'
  end
  
  
  gem 'devise'
  
  gem 'omniauth', "1.1.1"
  gem 'omniauth-facebook', '1.4.0' # HIGHER VERSIONS DO NOT WORK!
  gem "koala", "~&gt; 1.5.0"
  gem 'oauth2'
  
  gem 'cancan'
  gem 'routing-filter'
  
  
  
  
  gem 'thin'
  gem "simple_form"
  gem "cocoon"
  gem "jquery-rails"
  gem "validate_url"
  gem 'haml'
  
  gem "on_the_spot"
  gem 'therubyracer'   # important for less
  gem 'twitter-bootstrap-rails', :git =&gt; 'git://github.com/seyhunak/twitter-bootstrap-rails.git'
  
  #gem 'dragonfly'
  gem 'refinerycms-i18n'#, '~&gt; 2.1.0.dev', :git =&gt; 'git://github.com/refinery/refinerycms-i18n.git'
  gem "refinerycms-videojs", "~&gt; 0.5.5"
  #Refinery
  gem 'refinerycms-core' #You can leave this out if you like. It's a dependency of the other engines.
  gem 'refinerycms-dashboard'
  gem 'refinerycms-images'
  gem 'refinerycms-pages'
  gem 'refinerycms-resources'
  
  
  
  
  group :production do
    gem 'newrelic_rpm'
  end
  
  
  #gem "ckeditor"
  #gem "carrierwave"
  #gem "mini_magick"
  
  group :test, :development do
  
    gem "letter_opener"
  
    gem 'meta_request', '0.2.0'
  
    gem "rspec-rails", '2.9.0'
  
    gem 'guard-rspec'
    gem "spork"
    gem 'guard-spork'
  
    gem 'rb-inotify', '~&gt; 0.8.8'
  
    gem "factory_girl_rails"
  
    gem "mocha"
    gem 'capybara' #, :git =&gt; 'git://github.com/jnicklas/capybara.git'
  
    gem 'launchy'
    gem "capybara-webkit"
  
    gem "nifty-generators"
  
    gem 'sextant'
  
    gem 'haml-rails'
    gem 'hpricot'
    gem 'ruby_parser'
  
  end
  
  #gem "paypal-recurring"
  #gem "r2", "~&gt; 0.0.3"
  </code></pre>
  
  <p><strong>EDIT2</strong></p>
  
  <pre><code>mywebsite@ubuntu:~/RubymineProjects/mywebsite$ bundle -v
  Bundler version 1.2.3
  mywebsite@ubuntu:~/RubymineProjects/mywebsite$ gem -v
  1.8.24
  mywebsite@ubuntu:~/RubymineProjects/mywebsite$ 
  </code></pre>
  
  <p><strong>notice the error:</strong></p>
  
  <pre><code>Malformed version number string = 1.0.3 (ArgumentError)
  </code></pre>