no more symlink at test/rails_root/vendor/plugins/shoulda
Reported by Josh Nichols | June 26th, 2008 @ 08:10 PM
I figured out how to get rid of the shoulda symlink, so TextMate will no longer freak out.
Basically:
- Remove the symlink
- Remove the line in .gitignore for it
- Do some trickery in test/rails_root/vendor/plugins/shoulda/init.rb to adjust the load path, and require the appropriate stuff
It's in my fork of shoulda under the 'remove_symlink' branch
Comments and changes to this ticket
-
Ryan McGeary July 3rd, 2008 @ 10:43 AM
I doubt I would have started working on this had I realized this ticket already existed, but I took a slightly different approach.
Instead of duplicating the init.rb logic under vendor/plugins, I thought it would be better to actually use the original init.rb that is in shoulda itself.
My approach initializes the shoulda plugin using a rails initializer (config/initializers/shoulda.rb).
(rmm5t/shoulda no_symlink)
http://github.com/rmm5t/shoulda/...
relevant commit:
http://github.com/rmm5t/shoulda/...
I think I caught everything, including the docs under test/README.
-
-
Ryan McGeary July 30th, 2008 @ 09:12 AM
- → State changed from new to committed
- → Assigned user changed from Tammer Saleh to Ryan McGeary
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
