Project

General

Profile

fetch changesets in 2.1.2 - how?

Added by Ivan Cenov almost 12 years ago

The following script worked in Redmine 1.4.x:

E:\data\redmine>"C:\Program Files\Ruby\bin\ruby.exe" script\runner Repository.fetch_changesets -e production
Now, in Redmine 2.1.2 it does not work:
E:\data\redmine>"C:\Program Files\Ruby\bin\ruby.exe" script\runner Repository.fetch_changesets -e production
C:\Program Files\Ruby\bin\ruby.exe: No such file or directory -- script/runner (LoadError)
I tried with
E:\data\redmine>"C:\Program Files\Ruby\bin\ruby.exe" script\rails Repository.fetch_changesets -e production
←[31mCould not find i18n-0.6.1 in any of the sources←[0m
←[33mRun `bundle install` to install missing gems.←[0m
but with no success. So, what is the ways to fetch changesets from repositories?

P.S. I checked: i18n-0.6.1 is installed.

Also tried

E:\data\redmine>"C:\Program Files\Ruby\bin\ruby.exe" script\rails runner Repository.fetch_changesets -e production
←[31mCould not find i18n-0.6.1 in any of the sources←[0m
←[33mRun `bundle install` to install missing gems.←[0m
but with no success.


Replies (1)

RE: fetch changesets in 2.1.2 - how? - Added by Ivan Cenov almost 12 years ago

My fault. "C:\Program Files\Ruby\bin\ruby.exe" is 1.8.7 but in fact I have installed and use Ruby 1.9.3 that is in c:\ruby193\

    (1-1/1)