Activity Graph

Page 1 of 1


[12:08:52] Spaceman77: has joined #ruby
[12:09:05] Spaceman77: Hello. Anyone have any experience building ruby 2.4.1 from source?
[12:09:32] Spaceman77: I am trying to build from source, but it always fails at compiling 'parse.c'
[12:11:24] Spaceman77: The log gives no indication of what went wrong. Simply a compile error
[12:12:21] Spaceman77: `compiling parse.c; gcc: internal compiler error: Killed (program cc1); Please submit a full bug report,with preprocessed source if appropriate.; See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.; Makefile:364: recipe for target 'parse.o' failed; make: *** [parse.o] Error 4`
[12:13:20] Spaceman77: Maybe worth noting - i am installing this on an ubuntu 18.04 vagrant image
[14:58:43] Spaceman77: Remote host closed the connection


[09:47:51] Spaceman77: has joined #RubyOnRails
[09:47:59] Spaceman77: Hello. I have an input form for two model objects. Let's call them model A and B. I have a requirement that if model A's attribute "Apple" is some value, then model B's attribute "Banana" should be present, otherwise there should be no validation.
[09:48:27] Spaceman77: Does rails provide some short-hand approach for condition-based validation?
[10:18:57] Spaceman77: Ping timeout: 246 seconds


[12:29:58] Spaceman77: has joined #RubyOnRails
[12:30:42] Spaceman77: Why does running 'bin/rake db:create' also tries to compile the assets??
[15:04:43] Spaceman77: Quit: Leaving


[07:18:04] Spaceman77: has joined #ruby
[10:07:08] Spaceman77: Ping timeout: 245 seconds


[10:05:04] Spaceman77: has joined #RubyOnRails
[10:05:43] Spaceman77: I'm having an issue with rails' asset pipeline. I have some haml templates that i need compiled as html
[10:06:15] Spaceman77: I managed to do this by using Sprockets.register_engine
[10:07:10] Spaceman77: But after i changed some app settings, it doesn't work anymore
[10:07:14] Spaceman77: even after reverting the changes
[10:08:48] Spaceman77: what the heck
[10:09:04] Spaceman77: rails takes my haml files, compiles them to html, and leaves the extension as .haml
[10:14:39] Spaceman77: No, i need to precompile some assets(error pages)
[10:15:10] Spaceman77: I need localisation support and stylesheets, even when rails is broken
[10:15:21] Spaceman77: so i have hooked into the precompilation process
[10:16:00] Spaceman77: and i generate the error page views whenever i precompile
[10:27:00] Spaceman77: Rails adds wrong file extension for precompiled assets, help :(
[11:04:52] Spaceman77: Ping timeout: 246 seconds