मैं RubyMine 4.0.1 के साथ समस्या हो रहा है से का उपयोग कर लॉन्च नहीं कर सकतेहर बार जब मैं RubyMine से गहरे लाल रंग का स्क्रिप्ट चलाने जो केवल पंक्ति है विंडोज 7 पर RubyMine
require 'rmagick'
मैं प्राप्त
LoadError: 126: The specified module could not be found. - C:/Ruby193/lib/ruby/gems/1.9.1/gems/rmagick-2.13.1/lib/RMagick2.so
from C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
from C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
from C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rmagick-2.13.1/lib/RMagick.rb:11:in `<top (required)>'
from C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
from C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
from C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from (irb):1
from C:/Ruby193/bin/irb:12:in `<main>'
लेकिन जब मैं cmd से ही स्क्रिप्ट चलाने के लिए, सब कुछ ठीक काम करता है। मैंने रन कॉन्फ़िगरेशन को बदलने की कोशिश की, पर्यावरण चर समायोजित किया, लेकिन कुछ भी काम नहीं कर रहा था।
आप सिस्टम में 'PATH' पर्यावरण ImageMagick DLLs है? – CrazyCoder
हां। सब कुछ ठीक काम करता है, जब तक कि मैं रूबीमाइन से स्क्रिप्ट चलाता हूं। – vladhid
'पी ENV [" PATH "]' कमांड लाइन में और RubyMine में, यह एक ही उत्पादन का उत्पादन करता है के साथ स्क्रिप्ट चलाने के लिए प्रयास करें? – CrazyCoder