How do I require a specific version of a ruby gem?

My problem was twofold: 1) confusing gem command syntax with that used in config.gem lines in a rails environment.rb configuration file. 2) failing to issue a require command after the gem command. Proper usage in a script is: gem ‘ruby-oci8’, ‘=1.0.7’ require ‘oci8’ # example is confusing; file required (oci8.rb) is not # same name … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)