Errors after installing plugin

29 views
Skip to first unread message

rob

unread,
Sep 17, 2011, 7:42:24 PM9/17/11
to fat-free...@googlegroups.com
Hi all,

I'm trying to install some of the plugins listed here - https://github.com/michaeldv/fat_free_crm/wiki/Available-plugins.  I understand some of them may not be in working condition, but I'm getting a similar error with all of them which I haven't been able to track down.  For example, with the crm_web_to_lead plugin, when starting the server...

.../vendor/plugins/crm_web_to_lead/init.rb:3:in `block in <class:Plugin>': uninitialized constant FatFreeCRM::Plugin (NameError)

If I put in 'require "fat_free_crm"' at the top of the init.rb, it gets a little further but then starts complaining about missing 'is_paranoid'.  Plus, there is already 'require "fat_free_crm"' in the fat_free_crm.rb initializer so I would think it wouldn't be needed.  Any ideas what might be wrong or how to troubleshoot further?  


Thanks,
Rob

Rob Esposito

unread,
Sep 18, 2011, 3:18:37 AM9/18/11
to fat-free...@googlegroups.com
As a workaround, I put the following in application.rb:
config.autoload_paths += %W( #{config.root}/extras #{config.root}/lib )

However, I'm not sure if it's a good idea to autoload everything under lib.


- rob

> --
> You received this message because you are subscribed to the Google Groups
> "Fat Free CRM Developers" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/fat-free-crm-dev/-/hskFWVOYDiAJ.
> To post to this group, send email to fat-free...@googlegroups.com.
> To unsubscribe from this group, send email to
> fat-free-crm-d...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/fat-free-crm-dev?hl=en.
>

Reply all
Reply to author
Forward
0 new messages