Gemfile does not accept changes.

0

On my production system, I have the gem mysql2 0.3.11 installed, but locally I have mysql2 0.3.18 installed because it is not able to find the 0.3.11 when bundle install or gem install mysql2 0.3.11

I have tried to modify both the Gemfile and the Gemfile.lock by replacing 0.3.18 with >= 0.3.11 and I get this error. I've also tried it with ~> 0.3.11 and it gives me the same error

  

Malformed version number string >= 0.3.11 (ArgumentError)

If I do not change it, the 0.3.18 is installed, but when launching the rake:migrate , I get this other error.

/opt/project/ruby/bin/.ruby.bin: symbol lookup error: /opt/project/ruby/lib/ruby/gems/1.9.1/gems/mysql2-0.3.18/lib/mysql2/mysql2.so: Undefined symbol: mysql_get_client_info

How can I fix this?

    
asked by Extermis 03.07.2018 в 11:45
source

0 answers