Last Updated: March 27, 2017
·
433
· debbora

Problems and Solves

MySQL 2

  • Problem: can't activate mysql2 (~> 0.3.10), already activated mysql2-0.4.2. Make sure all dependencies are added to Gemfile.) (LoadError)

    • Solve: Change 'mysql2' to 'mysql2', '0.3.10'

Bundler

  • Problem: to_specs': Could not find bundler (>= 0)

    • Solve: gem install bundler --no-ri --no-rdoc
    • Solve (on deploy): set ruby-version in file 'deploy.rb' that had already into server

Postgres

  • Problem: can't install gem pg
    • Solve: sudo apt-get install libpq-dev