Instant Rails Problems
I was playing around with with RubyonRails the other night. I’m quite amazed on what this application framework can do. I saw the tutorial demo when someone created a blogging web application in 15 minutes with just 58 lines of code!
It gave me an inspiration to find out more about Ruby on Rails. So, I installed InstantRails, the Windows version of the popular application framework. Unfortunately, I had a couple of issues at the outset. I thought I share them here so that others can find a quick fix in the future.
Problem #1
I can’t run the ‘rails’ executable from the command line (console). The path was missing. To add to the Windows Path, right click on MyComputer and select Properties. Select the Advanced Tab and click on the Environment Variables. Edit Path and add the code below at the end of the line. Please note: I’m using the F: drive. Use your own directory structure.
F:\InstantRails\ruby\bin; F:\InstantRails\mysql\bin;
Problem #2
Everytime I ran the rails command, I had a popup window stating I was missing iconv.dll. You can download the file from here. Place it in to the directory below.
C:\windows\system32
That should do it. If you’re new to Ruby on Rails, I suggest you follow several tutorials that are available online. The sample cookbook application is a good one to get your feet wet. Have fun.
Leave a Reply