Re: [ruby-81] Problem upgrading to asset pipeline

From: Billy
Sent on: Monday, February 18, 2013 9:09 AM
That is most excellent news! You'll be receiving my invoice shortly :)

I'm going to get on a soap box here, especially after how long it took us to work through these woes. I really really hate the inconsistency the asset_pipeline instills.  If you want to just 'require_tree' to get all of your files in whatever order, along with any new files that appear over time -- sure no problem -- but if you want to add something new, like a  JS file to your pipeline precompile besides the default applicaion.js (in the case you want page specific JS files as has always been my preference) . noo, you must add a line to your application.rb to tell it to pre-load that guy.

Ah well - glad it took you less time to get this one ironed out :)

Billy

On Mon, Feb 18, 2013 at 4:59 AM, Jon Seidel <[address removed]> wrote:

Got it! Thanks to everyone for your help and especially the key comment from Billy:

"Can you try to add in your CSS/JS files one by one to see if its an ordering problem with require tree/self ?"

I turned out to be both an ordering problem and an inclusion problem. I had a bunch of stuff in the /stylesheets directory which I wasn't using but which was all included with the require_tree command.

Once I included only the stuff I had been using in the order that I had been using there was still one problem with the display of links (link_to) showing not only the link text but also the link address. I solved that by removing the blueprint/print.css file which I had been using with no problems.

So... problem solved. You can see a more detailed writeup at my blog: http://www.nubyrubyrailstales.com/2013/02/turbulence-in-asset-pipeline.html if you're interested.

Thank you all very much!!! Couldn't have done it so soon without your help.

Cheers...jon

Jon Seidel, CMC®

EDP Consulting, Inc. / www.edpci.com / www.4mypasswords.com

Effective Decisions... Priceless

Technology that means Business - Since 1979





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Jon Seidel ([address removed]) from The East Bay Ruby Meetup Group.
To learn more about Jon Seidel, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy