Bugs: Browse | Submit New | Admin

[#15347] Project names with dashes end up doing bad requires

Date:
2007-11-05 01:08
Priority:
3
Submitted By:
Ben Bleything (bleything)
Assigned To:
Jeremy Hinegardner (jjh)
Category:
rabal
State:
Open
Summary:
Project names with dashes end up doing bad requires

Detailed description
When you create a project with a dash in the name, everything gets all hosed :)  It seems to be because the lib paths
are derived from the name of the library, which is normalized to underscores instead of dashes.

The end result is that a project named "foo-bar" will have a lib/foo_bar.rb and lib/foo-bar directory.  foo_bar.rb
tries to require lib/foo_bar/*, which doesn't exist.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item