Forum: Ruby on Rails eclipse 3rdrail db migration wizard fails

Fc95ad21d3d8391f280aa3eab3520abf?d=identicon&s=25 brian sur (rnuby)
on 2013-07-23 18:31
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
5f94b9b346c2aa648a80bc259978e5bc?d=identicon&s=25 Colin Law (Guest)
on 2013-07-23 21:27
(Received via mailing list)
On 23 July 2013 17:31, brian sur <lists@ruby-forum.com> 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
Fc95ad21d3d8391f280aa3eab3520abf?d=identicon&s=25 brian sur (rnuby)
on 2013-07-23 21:32
Colin Law wrote in post #1116404:
> On 23 July 2013 17:31, brian sur <lists@ruby-forum.com> 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.
5f94b9b346c2aa648a80bc259978e5bc?d=identicon&s=25 Colin Law (Guest)
on 2013-07-23 21:39
(Received via mailing list)
On 23 July 2013 20:32, brian sur <lists@ruby-forum.com> 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
Fc95ad21d3d8391f280aa3eab3520abf?d=identicon&s=25 brian sur (rnuby)
on 2013-07-23 21:42
Colin Law wrote in post #1116406:
> On 23 July 2013 20:32, brian sur <lists@ruby-forum.com> 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
5f94b9b346c2aa648a80bc259978e5bc?d=identicon&s=25 Colin Law (Guest)
on 2013-07-23 22:04
(Received via mailing list)
On 23 July 2013 20:42, brian sur <lists@ruby-forum.com> 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
Fc95ad21d3d8391f280aa3eab3520abf?d=identicon&s=25 brian sur (rnuby)
on 2013-07-24 13:58
Colin Law wrote in post #1116409:
> On 23 July 2013 20:42, brian sur <lists@ruby-forum.com> 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.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.