On 23 July 2013 17:31, brian sur <
li...@ruby-forum.com> wrote:
> Hello,
> I am attempting to do a new db migration on an existing project however
> when I try to run the migration wizard it fails with the following error
> in my console window.
>
>>script/generate migration --force tests
> Unable to locate the Ruby interpreter. Please configure one via 'Window
> | Preferences... | Ruby/Interpreters'.
>>
>
> I have already specified "Generic Ruby" Located at:
> C:\Ruby200-x64\bin\ruby.exe
>
> I also tried "Generic Ruby" Located at: C:\Ruby187\bin\ruby.exe
What do you mean you "tried" them?
What happens if you do
C:\Ruby200-x64\bin\ruby.exe script/generate migration --force tests
or the same with the other Ruby?
>
> since I do have both versions installed.
>
> I am on windows 7 x64 running 3rdrail and eclipse.
I am sorry to hear that, you have my sympathies.
>
> I am bran new to ruby development and look forward to learning!
Work right through a good tutorial such as
railstutorial.org (which is
free to use online). That will show you the basics of rails. If at
all possible move to a Linux OS such as Ubuntu for your rails
development. You will find fewer problems and will find it easier to
get help as most rails developers use Linux or Mac. You can run
Ubuntu in a virtual machine in Windows or set your PC up to dual boot
Win and Ubuntu. I suspect the problem you have described is a Win
issue.
Colin