Eclipse 3rdrail db migration wizard fails


#1

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

since I do have both versions installed.

I am on windows 7 x64 running 3rdrail and eclipse.

I am bran new to ruby development and look forward to learning!

Thanks


#2

On 23 July 2013 17:31, brian sur removed_email_address@domain.invalid wrote:

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


#3

Colin L. wrote in post #1116404:

On 23 July 2013 17:31, brian sur removed_email_address@domain.invalid wrote:

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

I made some progress, I removed the 187 interpreter I then re-added it
and my migration ran. However I had auto build checked and now its been
building at 4% for 2 hours. I have read other had this issue as well but
I have not found any information on fixing builds that last forever. My
project is not that big. I have done several tutorials and they worked
great, But this is an existing project that I did not write that I am
currently working in.


#4

On 23 July 2013 20:32, brian sur removed_email_address@domain.invalid wrote:

I made some progress, I removed the 187 interpreter I then re-added it
and my migration ran. However I had auto build checked and now its been
building at 4% for 2 hours. I have read other had this issue as well but
I have not found any information on fixing builds that last forever. My
project is not that big. I have done several tutorials and they worked
great, But this is an existing project that I did not write that I am
currently working in.

What is autobuild? There is normally nothing to build on a Rails
project (at least in development mode). Just start the server and off
it goes.

Colin


#5

On 23 July 2013 20:42, brian sur removed_email_address@domain.invalid wrote:

What is autobuild? There is normally nothing to build on a Rails
project (at least in development mode). Just start the server and off
it goes.

Colin

I am using 3rdrail and eclipse At the top of screen:
Project->Build Automatically

No idea what that does, sorry. You will have to find someone with
3rdrail or eclipse knowledge (you have not made it clear whether that
is an eclipse action or 3rdrail). 3rdrail is a paid for product is it
not? Presumably they offer support.

Colin


#6

Colin L. wrote in post #1116406:

On 23 July 2013 20:32, brian sur removed_email_address@domain.invalid wrote:

I made some progress, I removed the 187 interpreter I then re-added it
and my migration ran. However I had auto build checked and now its been
building at 4% for 2 hours. I have read other had this issue as well but
I have not found any information on fixing builds that last forever. My
project is not that big. I have done several tutorials and they worked
great, But this is an existing project that I did not write that I am
currently working in.

What is autobuild? There is normally nothing to build on a Rails
project (at least in development mode). Just start the server and off
it goes.

Colin

I am using 3rdrail and eclipse At the top of screen:
Project->Build Automatically


#7

Colin L. wrote in post #1116409:

On 23 July 2013 20:42, brian sur removed_email_address@domain.invalid wrote:

What is autobuild? There is normally nothing to build on a Rails
project (at least in development mode). Just start the server and off
it goes.

Colin

I am using 3rdrail and eclipse At the top of screen:
Project->Build Automatically

No idea what that does, sorry. You will have to find someone with
3rdrail or eclipse knowledge (you have not made it clear whether that
is an eclipse action or 3rdrail). 3rdrail is a paid for product is it
not? Presumably they offer support.

Colin

This is a feature of eclipse, I also found out that what is triggering
these builds is when I select the ruby interpreter, It apparently needs
to do an initial build.