calendar_date_select_includes not found

After you edit any files in config folder, please restart your server(Like Mongrel or Webrick), try again :slight_smile:

Billy Hsu wrote:

After you edit any files in config folder, please restart your server(Like Mongrel or Webrick), try again :slight_smile:

I've restarted several times.

I see the calendar_date_select_includes method in my gems directory /usr/local/lib/ruby/gems/1.8/gems/calendar_date_select-1.13/lib/calendar_date_select/includes_helper.rb

1. How do I configure my rails app to find this code? When I installed the gem it installed fine so I'd expect my app to be able to find it.

2. The difference between extensions, plugins, and gems isn't clear to me. Do they all have an init.rb and how is the init.rb run? If I run the init.rb in /usr/local/lib/ruby/gems/1.8/gems/calendar_date_select-1.13 I get these errors but maybe I'm running it wrong. I was just thinking that the init.rb might cause rails apps to find this gem:

./lib/calendar_date_select.rb:1:in `require': no such file to load -- calendar_date_select/calendar_date_select.rb (LoadError)   from ./lib/calendar_date_select.rb:1   from init.rb:1:in `require'   from init.rb:1