Strange Symphonies The best way to predict the future is to invent it

18Apr/070

Placing Rakefiles

In the process of creating more Ruby on Rails plugins, I decided (actually thought it would be nice) to finally create a Rakefile.

Now I write my plugins in a directory ~/src/lib/rails/plugins, and if I need them I create a symbolic link to the plugin ln -s ~/src/lib/rails/plugins/whatever_plugin_i_have_made RAILS_ROOT/vendor/plugins/. Which worked. Each and everyone of my plugins I needed worked.

Except this doesn't work for rake.

So as a reminder you have to have a copy of the plugin itself in the RAILS_ROOT/vendor/plugins/ directory.

What can I do? Well I guess I can make a gem out of the plugin, which could make things easier.

Related posts

Tags

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.