Right.
But when you run it through Netbeans you get the error telling you to some effect:
"ERROR: ActiveRecord oracle_enhanced adapter could not load ruby-oci8 library. Please install ruby-oci8 library or gem."
The explanation is that for some reason Netbeans on the mac does not pick up the settings set say in your .bashrc file. The easiest solution is to add the line:
"source ~/.bashrc" to your netbeans startup script.
Now Netbeans will pick up all your paths.
1 comment:
Thank you for this! Easiest solution by far to get env vars to be seen by passenger/apache.
Post a Comment