title: RubyOnRails- How to bundle?
body: <p>I am trying to install all dependencies via following command:</p>
  
  <pre><code>bundle install
  </code></pre>
  
  <p>It gave me following error:</p>
  
  <pre><code>An error occurred while installing libv8 &lt;3.16.14.13&gt;, and bundle cannot continue.
  Make sure  that 'gem install libv8 -v '3.16.14.13' ' succeeds before bundling.
  </code></pre>
  
  <p>Then from this link:</p>
  
  <p><a href="https://stackoverflow.com/questions/19673714/rails-gem-install-error-error-installing-libv8-error-failed-to-build-gem-nati">Error installing libv8: ERROR: Failed to build gem native extension</a></p>
  
  <p>I found this solution:</p>
  
  <pre><code>gem install libv8 -v '3.16.14.13' -- --with-system-v8
  </code></pre>
  
  <p>It then installed the <code>libv8</code></p>
  
  <p>Then again I ran the command:</p>
  
  <pre><code>bundle install
  </code></pre>
  
  <p>Now its giving me following error:</p>
  
  <pre><code>An error occurred while installing therubyracer &lt;0.12.2&gt;, and bundler cannot continue.
  Make sure that 'gem install therubyracer -v '0.12.2' ' succeeds before bundling.
  </code></pre>
  
  <p>I tried deleting <code>therubyracer</code> from gem file and then run the command but i am getting the same error.</p>
  
  <p>Please guide me.</p>
  
  <p>Thanx</p>