Skip to content

developing on windows

rdp edited this page Aug 12, 2010 · 7 revisions

Currently it isn’t easy to setup a github friendly test setup for hacking on redcar within windows. But it is possible. Here’s

C:\>$ gem install redcar

now find where it installed it 

E:\>gem which redcar 
(checking gem redcar-0.3.2dev for redcar) 
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/lib/redcar.rb 

do a git clone "somewhere" 
cd into your newly cloned repo (redcar)

copy the vendor and textmate directories and lib/plugin_manager dirs from the installed gem into your git checked out version.

run ruby bin\redcar install

ruby bin\redcar should now work.

If you want to use that as the default, then rename it into the place of the gem installed version, like
$ rm -rf E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2
$ mv redcar E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2