Recent Posts by Silas
|
18 Feb, 2008 04:32 PM
|
Topic: RubyStack & JRubyStack / RadRails and Rmagick - RMagick.so module not found Aptana RadRails is very good (eclipse is good), I like it a lot. Particularly with ViPlugin, which (for a cost) gives you a useful subset of the features of the monolitic Vim text editor http://www.satokar.com/viplugin/index.php I have encountered people who espouse text-editor-only development. I mostly find that this is down to a misguided sense of anti-tool machoism. The slight disadvantage of starting with an IDE is that it may obscure what is actually going on, and encourage dependence on a graphical interface when the underlying command line is actually more elegant. But when you consider the refactoring, debugging, and error flagging abilities of Aptana you see it is so much more productive to use an IDE. Anyway, I have posted a howto style topic on this (as a separate thread in case others are interested): http://bitnami.org/forums/forums/20/topics/249 Manuel: setting the MAGICK_CODER_MODULE_PATH variable sorted my issues. |
|
18 Feb, 2008 04:10 PM
|
Topic: RubyStack & JRubyStack / HowTo: Windows + RubyStack + Aptana RadRails + Ruby Debug Thought I would make this a new topic. It collates information relating to getting a good development environment running on a windows box (for free): After following these steps you should have an Aptana RadRails intstalltion, which RubyStack’s Ruby, Rails, ImageMagick and other libraries, and provides visual debugging.
Then you are finished. Now, when you run Aptana you should be able to add/start ruby servers in debug mode or otherwise. Additionally any features used in your application residing in RubyStack should work. Note that this breaks the containment of RubyStack, and it would be easy to call the scripts/setenv.bat file from another batch file before opening Aptana to achieve the same effect without altering environment variables. |
|
16 Feb, 2008 11:46 AM
|
Topic: RubyStack & JRubyStack / RadRails and Rmagick - RMagick.so module not found Your cunning suggestion did indeed work, thanks! Looking at setenv.bat there doesn’t seem to be much other than PATH being prepended, but I notice th MAGICK_CODER_MODULE_PATH variable is also set, I will play with this and report back. What is the meaning of the forward slashes used for the various paths, such as C:\RubyStack/imagemagick ? |
|
15 Feb, 2008 03:36 PM
|
Topic: RubyStack & JRubyStack / RadRails and Rmagick - RMagick.so module not found I am running RubyStack 1.0 on Windows. I want to run a server through the eclipse-based RadRails (so I can use the ruby-debug-ide, to get visual debugging). My project uses RMagick. I have configured RadRails/Aptana to use RubyStack’s Ruby VM, and RubyStack’s Rails. When I start a server and fetch an action that works from within the UseRuby environment I get the following error: “The specified module could not be found. – C:/RubyStack/ruby/lib/ruby/gems/1.8/gems/rmagick-1.15.9-win32/ext/RMagick.so” The module does exist, and is in that folder. I think this is a PATH issue, but I have tried the following with no avail: - Adding C:/RubyStack/ruby/lib/ruby/gems/1.8/gems/rmagick-1.15.9-win32/ext/ to my windows PATH environment variable. Any suggestions much appreciated |

