Re: [Rails] mysqld.sock

2019-03-06 Thread Hassan Schroeder
On Wed, Mar 6, 2019 at 5:29 PM wrote: > What is the purpose of the mysqld.sock file. Can't I just specify localhost? https://serverfault.com/questions/124517/whats-the-difference-between-unix-socket-and-tcp-ip-socket -- Hassan Schroeder hassan.schroe...@gmail.com twitt

[Rails] mysqld.sock

2019-03-06 Thread brainiacsys5
Hi Everyone, What is the purpose of the mysqld.sock file. Can't I just specify localhost? Thanks, -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyon

Re: [Rails] Problem serving image assets

2019-03-06 Thread Colin Law
I don't understand how it ever worked at all, now that I understand a bit more. I have a .js.coffee file in assets/javascripts that has in it lines like @marker_icon_red = new OpenLayers.Icon('/assets/red_pin.png', size, offset); so there is nothing to convert the url to digest version. Yet this

[Rails] Re: Problem serving image assets

2019-03-06 Thread Steve Alex
I just went through a similar problem with displaying an image in a PDF generated from the gem prawn. Worked find in development, but not production. prawn knows nothing about the asset pipeline or path helpers. I'm sure that the same is true with trying to get the path from java/coffee/script.

Re: [Rails] Problem serving image assets

2019-03-06 Thread Walter Lee Davis
> On Mar 6, 2019, at 10:29 AM, Walter Lee Davis wrote: > >> >> On Mar 6, 2019, at 10:16 AM, Colin Law wrote: >> >> On Wed, 6 Mar 2019 at 14:47, Walter Lee Davis wrote: >>> >>> On Mar 6, 2019, at 9:27 AM, Walter Lee Davis wrote: The asset pipeline needs a JavaScript interp

Re: [Rails] Problem serving image assets

2019-03-06 Thread Walter Lee Davis
> On Mar 6, 2019, at 10:16 AM, Colin Law wrote: > > On Wed, 6 Mar 2019 at 14:47, Walter Lee Davis wrote: >> >> >>> On Mar 6, 2019, at 9:27 AM, Walter Lee Davis wrote: >>> >>> The asset pipeline needs a JavaScript interpreter to work correctly on the >>> server. I usually install whatever

Re: [Rails] Problem serving image assets

2019-03-06 Thread Colin Law
On Wed, 6 Mar 2019 at 14:47, Walter Lee Davis wrote: > > > > On Mar 6, 2019, at 9:27 AM, Walter Lee Davis wrote: >> > > The asset pipeline needs a JavaScript interpreter to work correctly on the > > server. I usually install whatever version of Node.js is available in a > > package manager. Alt

Re: [Rails] Problem serving image assets

2019-03-06 Thread Walter Lee Davis
> On Mar 6, 2019, at 9:27 AM, Walter Lee Davis wrote: > >> >> On Mar 6, 2019, at 7:15 AM, Colin Law wrote: >> >> I hope someone can help me with an assets problem. I have had to >> rebuild a production server and images are no longer getting served. >> Unfortunately the working system is no

Re: [Rails] Problem serving image assets

2019-03-06 Thread Walter Lee Davis
> On Mar 6, 2019, at 7:15 AM, Colin Law wrote: > > I hope someone can help me with an assets problem. I have had to > rebuild a production server and images are no longer getting served. > Unfortunately the working system is no more so I can't compare what I > have with what used to work in or

[Rails] Problem serving image assets

2019-03-06 Thread Colin Law
I hope someone can help me with an assets problem. I have had to rebuild a production server and images are no longer getting served. Unfortunately the working system is no more so I can't compare what I have with what used to work in order to help diagnose the problem. I am using Rails 4.2 with