Estoy teniendo un problema con RubyMine 4.0.1 en Windows 7. Cada vez que corro ruby script de RubyMine que contiene la única líneaNo se puede iniciar el uso de RubyMine
require 'rmagick'
que recibo
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>'
Pero cuando ejecuto el mismo script desde cmd, todo funciona bien. Intenté cambiar las configuraciones de ejecución, ajustando las variables de entorno, pero nada parecía funcionar.
¿Tiene ImageMagick dlls en el sistema 'PATH' environment? – CrazyCoder
Sí. Todo funciona bien, a menos que ejecute el script de RubyMine. – vladhid
Intenta ejecutar el script con 'p ENV [" PATH "]' en la línea de comando y en RubyMine, ¿produce el mismo resultado? – CrazyCoder