Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コンソールでスクリプトを実行できるという問題がありますrequire 'mysql2'が、同じマシンでのphpシステムコール内では機能しません。
require 'mysql2'
誰かがこれを修正する方法について何かアイデアがありますか?
ガレス
独自の環境で設定したように聞こえますGEM_HOMEが、同じ設定がないため、ユーザーPHPが実行されています。
GEM_HOME
http://docs.rubygems.org/read/chapter/3#page83