Closed ghost closed 11 years ago
+1
+1
+1
+1 :((((((((
+1
+1
Not sure why yet, but one workaround is to not require the gem in the Gemfile, e.g.:
gem 'activeadmin-axlsx', require: nil
and adding require "activeadmin-axlsx"
to the ActiveAdmin initializer.
Hi all,
Sorry for the very long delay.
I've moved all extensions in the gem to kick after_intialize. Can I ask someone to have a go at what is on master and let me know if this fixes the issue in their environment?
Sadly mates, I do this in my very limited free time. If you are unsatisfied with the gem, or unwilling to participate in making it better I am sure that you are more than capable of authoring your own custom alternatives.
On the other hand, If you know how much work goes into even making a simple extension like this I hope that you are both kind and mature enough to send in pull requests that solve problems for all developers instead of relying on others to both anticipate and/or empathise with you personal situation.
In the mean time, I will be closing this issue. Hopefully the small change I have made will make life a little bit easier for someone out there who needs to provide xlsx reports for a client but does not have the time or energy to delve into the obtuse specification.
May all your endeavours result in great success!!
sorry, I didnt notice that this will be directly to Github
no worries! As soon as i am perfect i wiil have just cause to come down on it for real. in the mean time any help you guys can provide will surely help every oneelse in the community.
@randym,
About one month ago, I fixed the precompile problem, but is a BIG WORKAROUND, so I didnt post here....or create a pull request...
https://github.com/rafaeliga/activeadmin-axlsx/commit/26600fb36c6bf98c5d230452431ab89d45a13034
But, again, Im really sorry if you dont like my comments, I didnt mean "oh man why took soooo long?", I mean "yayyy my ugly workaround is not needed anymore".
@rafaeliga no worries.
Let me know if this works in your environment. If it does not, there are a few other things I can try to push the loading of activeadmin-axlsx further down the line of dependencies.
I have issue to precompile assets with axlsx active admin gem, without having it in gem everything works fine
i do have meta_search and inherited_resources in gemfile