File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,24 @@ By default, the mysql2 gem will try to find a copy of MySQL in this order:
32
32
### Configuration options
33
33
34
34
Use these options by ` gem install mysql2 -- [--optionA] [--optionB=argument] ` .
35
- The following options are mutually exclusive.
36
35
37
36
* ` --with-mysql-dir[=/path/to/mysqldir] ` -
38
37
Specify the directory where MySQL is installed. The mysql2 gem will not use
39
38
` mysql_config ` , but will instead look at ` mysqldir/lib ` and ` mysqldir/include `
40
39
for the library and header files.
40
+ This option is mutually exclusive with ` --with-mysql-config ` .
41
41
42
42
* ` --with-mysql-config[=/path/to/mysql_config] ` -
43
43
Specify a path to the ` mysql_config ` binary provided by your copy of MySQL. The
44
44
mysql2 gem will ask this ` mysql_config ` binary about the compiler and linker
45
45
arguments needed.
46
+ This option is mutually exclusive with ` --with-mysql-dir ` .
47
+
48
+ * ` --with-mysql-rpath=/path/to/mysql/lib ` / ` --without-mysql-rpath ` -
49
+ Override the runtime path used to find the MySQL libraries.
50
+ This may be needed if you deploy to a system where these libraries
51
+ are located somewhere different than on your build system.
52
+ This overrides any rpath calculated by default or by the options above.
46
53
47
54
### Windows
48
55
First, make sure you have the DevKit installed (http://rubyinstaller.org/downloads/ ) and its variables
You can’t perform that action at this time.
0 commit comments