noocx

Activity Graph

Page 1 of 2 | Next »

2018-01-25

[07:25:11] noocx: has joined #ruby
[07:25:17] noocx: cannot load such file -- zlib
[07:25:17] noocx: ERROR: Loading command: install (LoadError)
[07:25:36] noocx: i get this on aws ec2 while trying to install bundler(gem install bundler)
[07:25:49] noocx: installed ruby with rvm
[07:26:07] noocx: zlib and zlib-devel is installed
[07:26:22] noocx: have you got any idea?
[07:27:33] noocx: thanks checking
[07:27:38] noocx: its amazon 2 ami
[07:27:44] noocx: so the newest i think
[07:34:14] noocx: baweaver: yes i did this, rvm and ruby is installed fine, i think all of the required packages installed too, but i still get this error when i try to install bundler
[07:35:08] noocx: ERROR: While executing gem ... (NoMethodError)
[07:35:08] noocx: cannot load such file -- zlib
[07:35:08] noocx: ERROR: Loading command: install (LoadError)
[07:35:08] noocx: gem install bundler --no-rdoc --no-r
[07:35:09] noocx: undefined method `invoke_with_build_args' for nil:NilClass
[07:35:39] noocx: with --no-ri too:)
[07:41:46] noocx: maybe this will be my problem when i install ruby the installer says to install these packages: Install: build-essential libreadline zlib1g libyaml libc6 libgdbm ncurses
[07:41:55] noocx: but there is no zlib1g on amazon linux?
[07:45:11] noocx: has joined #RubyOnRails
[07:50:05] noocx: gem install bundler --no-rdoc --no-ri ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass
[07:50:28] noocx: have you got any idea why? zlib, zlib-dev install, its amazon 2 linux, 2.4 ruby
[07:50:38] noocx: installed*
[07:50:59] noocx: ahh and rvm
[07:51:52] noocx: ok working now
[07:52:01] noocx: needed to recompile ruby after zlib install
[07:52:09] noocx: ok working now
[07:52:10] noocx: needed to recompile ruby after zlib install
[09:04:42] noocx: have you got any idea why i cant bind webrick to a public iface at aws?:)
[09:05:22] noocx: ok my bad
[09:05:34] noocx: Errno::EADDRNOTAVAIL
[09:05:39] noocx: dminuoso: ?
[09:06:19] noocx: dminuoso: no
[09:07:41] noocx: dminuoso: ok you are right, but solved it sorry
[09:11:32] noocx: do you use redmine?
[09:11:46] noocx: with what webserver?
[09:58:00] noocx: which webserver should i use for redmine?
[09:58:18] noocx: puma + apache?
[09:59:44] noocx: ok nginx then
[09:59:51] noocx: whats yourproblem with apache?:D
[10:00:13] noocx: or for 20 ppl puma is just enough?
[10:00:18] noocx: or do i need to use nginx?
[10:01:28] noocx: i saw some statistic and in some thigns apache was better
[10:01:34] noocx: maybe with static files dont remember
[10:02:13] noocx: you use nginx with nodejs too?
[10:03:36] noocx: its a fresh ec2, so i can use nginx too:)
[11:03:27] noocx: how fast is that compared to nodejs?
[11:04:12] noocx: cause i cant decide to build my app with nodejs or ruby
[11:11:02] noocx: what framework do you use with ruby?
[11:12:50] noocx: thanks, i will
[11:19:41] noocx: https://www.youtube.com/watch?v=WWuDiwr30SI
[11:32:35] noocx: Ping timeout: 260 seconds
[11:34:28] noocx: has joined #ruby
[11:34:29] noocx: has joined #RubyOnRails
[12:04:00] noocx: https://www.youtube.com/watch?v=m0EB4m3EvO8
[16:04:03] noocx: Quit: leaving

2018-01-23

[06:28:18] noocx: has joined #RubyOnRails
[06:28:39] noocx: can you tell me what a strategy file is under models?
[06:29:46] noocx: or if I've got something like this: class CustomValue::FormatStrategy, how should I know what is it?
[06:33:51] noocx: https://pasteboard.co/H4dpWTT.png
[06:45:29] noocx: has joined #ruby
[06:46:16] noocx: can someone help me with this? https://pasteboard.co/H4dpWTT.png
[06:47:04] noocx: can you tell me please what are these strategy files, how can I create and use them and where can I learn about it?
[06:47:32] noocx: its openproject, rails based
[06:55:30] noocx: audy: thank you
[06:58:33] noocx: maybe, I don't know, got some basic rails knowleedge, but I'm a total newbie
[06:58:53] noocx: neither know ruby, only some basic things
[06:59:12] noocx: but what do they do in the model folder?
[06:59:23] noocx: if they are form helpers
[07:00:23] noocx: there are custom fields in openproject with some fix types, I think these are the types
[07:00:42] noocx: so you can create a custom field and you need to choose a defined type for it
[07:01:07] noocx: you choose from these custom values
[07:02:00] noocx: audy: ok its clearer now thanks
[07:02:33] noocx: I've got 1 hour to understand openproject's structure, learn ruby and rails and write a plugin:D
[07:02:57] noocx: how should i reach this?:D
[07:04:42] noocx: am I right if I say this openproject doesnt follow the proper rails way to solve things?
[07:06:20] noocx: or this is how a complex rails app looks like?
[07:07:10] noocx: hm thanks, I learned something now:)
[07:08:37] noocx: this op uses 5.0.6 rails or something
[07:24:21] noocx: audy: can you tell me something about line 152? https://pasteboard.co/H4dKazY.png
[07:24:37] noocx: its the view helper
[07:25:03] noocx: where should I look for that Openproject::CustomFieldFormat ?
[07:26:51] noocx: cool thank
[07:31:06] noocx: what is the config/initializers folder for?
[07:33:00] noocx: cause i ran out of time
[07:33:21] noocx: but i wont be able to do this, so
[07:33:49] noocx: yes, something like that and i dont have the knowledge to finish this
[07:36:29] noocx: need to create a plugin which gives some custom fields where you can select data from an external database, need to show dynamic dropdowns with related data on form, etc
[07:36:56] noocx: and you need to be able to use this as a new custom field in openproject
[07:38:23] noocx: with 3-4 connected tables
[07:39:04] noocx: and you need to be able to add these fields from those tables to a task for example in op
[07:39:29] noocx: yes, that part is easy
[07:40:48] noocx: additionally openprojects uses angular
[07:46:39] noocx: Ive got zero knowledge with angular too:/
[07:47:10] noocx: and additionally they tell me how to do things, so I think I cant make it that way how you suggest
[07:47:44] noocx: no, its some php thing
[07:48:14] noocx: but they messed that up too:D
[07:48:34] noocx: cause they wanted me to just read some data, forget consistency etc
[07:50:11] noocx: they need autocompletion with existing data and additionally they want to be able to add new! data in openproject, but not in the source db..
[07:50:33] noocx: but they want to see the new data to when someone creates a new task or something:)
[07:50:42] noocx: so its a messy thing
[07:51:03] noocx: thats the point
[07:51:13] noocx: thats why its messy, and cant be solved that way
[07:51:25] noocx: so you cant write back to the source db
[07:51:45] noocx: neither can store in rails db
[07:52:13] noocx: i mean the fields what you need to select from at task creation
[07:52:30] noocx: cause you read that data from the source db
[07:55:21] noocx: ok i lost the project(out of time):D
[07:55:28] noocx: anyway, thanks for your help
[08:01:26] noocx: Quit: leaving

2018-01-08

[02:54:47] noocx: Quit: leaving
[08:20:00] noocx: has joined #RubyOnRails
[10:27:34] noocx: can you help me with this please? https://gist.github.com/noocx/3be4be613bc177631936a66acdcb745e
[10:38:43] noocx: Read error: Connection reset by peer

2018-01-07

[22:54:25] noocx: has joined #RubyOnRails
[23:03:47] noocx: I try to develop an openproject plugin, in development env I get this error: ActionController::RoutingError (No route matches [GET] "/assets/bundle.js.map"): have you got any idea what should cause it? Tell me if this message isn't enough. It's rails 5.0.6

2018-01-02

[05:55:54] noocx: Quit: leaving

2018-01-01

[20:40:37] noocx: has joined #RubyOnRails
[22:01:48] noocx: Quit: WeeChat 1.6
[22:41:12] noocx: has joined #RubyOnRails
[22:50:24] noocx: can you tell me why I get the undefined method error? https://gist.github.com/noocx/65bb36361e784d2795e1a5fa65d3015d
[23:00:45] noocx: Radar: this isnt that channel?:)
[23:01:54] noocx: contains the form_with right?
[23:04:48] noocx: Radar: no, it worked in 5.0.6 in 5.2 there are just some refinements right?
[23:05:03] noocx: but double checking
[23:05:43] noocx: yes, but i started with 5.0.6 and tried the form_with with the guide
[23:05:53] noocx: but checking again
[23:06:03] noocx: but I think my issue will be about the new methid
[23:07:16] noocx: Radar: it came with 5.1?
[23:08:26] noocx: ok sorry, checked and my tested version was 5.1.4
[23:09:19] noocx: so I was wrong with 5.0.6, but now I try to use it on 5.0.6, so thats the problem

2017-12-29

[07:27:41] noocx: has joined #RubyOnRails
[13:03:33] noocx: Quit: leaving

2017-12-28

[09:06:21] noocx: Ping timeout: 264 seconds
[10:39:19] noocx: has joined #RubyOnRails
[12:26:35] noocx: Ping timeout: 240 seconds
[12:38:54] noocx: has joined #RubyOnRails
[13:48:31] noocx: Ping timeout: 256 seconds
[15:00:29] noocx: has joined #RubyOnRails
[16:30:57] noocx: Ping timeout: 264 seconds

2017-12-27

[16:03:10] noocx: Quit: leaving
[19:29:01] noocx: has joined #RubyOnRails
[19:30:46] noocx: do you know a form helper or something to easly combine a select tag with an input tag?
[19:31:08] noocx: using select for existing data and input field for new data
[19:44:42] noocx: amperry: ok i will
[19:59:03] noocx: amperry: its maybe better, but still looking for a rails plugin or something:
[19:59:06] noocx: https://stackoverflow.com/questions/18309059/drop-down-menu-text-field-in-one

2017-12-26

[18:27:36] noocx: has joined #RubyOnRails
[18:28:44] noocx: do you know about a modul/solution which provides a form or something what i can use to connect to a specified database and get data from it interactively by a form?
[18:29:41] noocx: I'd like to get data from a db and prepare it to sending to an api
[18:30:21] noocx: I need to select the db and fields on a form, get data from that db, prepare it for sending and send to openproject's api
[18:31:15] noocx: and later i need to make this available as an openproject plugin
[18:32:03] noocx: to make this throughcustom fields or something
[18:32:08] noocx: in openproject
[18:33:04] noocx: dminuoso: have you got any idea where to start? siome support modules or something? or need to code the whole by hand?
[18:33:37] noocx: nothing yet
[18:34:10] noocx: I need a form to select an query a database and store that object first
[18:34:16] noocx: have you got idea for this?
[18:35:26] noocx: yes, I'll do that
[18:35:43] noocx: I'm just asking for suppor modules, helpers, etc
[18:35:48] noocx: what maybe exist already
[18:36:19] noocx: but will look for it
[18:37:00] noocx: yes maybe
[18:37:34] noocx: sorry, not my native lang
[18:39:24] noocx: may I try to xplain what i need?:D
[18:40:25] noocx: I need a form what i can use to select a database to connect to and somehow query its specified tables(maybe i specify those on the form too), so not from database.yml
[21:14:23] noocx: https://gist.github.com/noocx/5d7f576097c05d6fb28b6c20015ab0ba
[21:14:35] noocx: I get ActiveModel::UnknownAttributeError in TicketsController#create, can you help me why?
[21:17:29] noocx: here is the form:
[21:17:32] noocx: https://gist.github.com/noocx/7ae2d0d73785224ec2adf4c670c0a972
[21:22:55] noocx: fschuindt: https://gist.github.com/noocx/5d7f576097c05d6fb28b6c20015ab0ba https://gist.github.com/noocx/7ae2d0d73785224ec2adf4c670c0a972 have you got an idea why i get ActiveModel::UnknownAttributeError in TicketsController#create?
[21:23:32] noocx: sorry, I can't answer your question
[21:25:56] noocx: https://gist.github.com/noocx/7ae2d0d73785224ec2adf4c670c0a972
[21:27:00] noocx: merged the 3
[21:28:48] noocx: ahh its called ma,e
[21:29:49] noocx: fschuindt: migration is wrong
[21:30:11] noocx: fschuindt: yes i see thanks
[21:31:46] noocx: fschuindt: why do you remove ticket from show?

2017-12-23

[06:15:06] noocx: garyserj: start here:
[06:15:13] noocx: https://stackoverflow.com/questions/2097052/rails-way-to-reset-seed-on-id-field
[06:18:16] noocx: old question, dont know if there is an easier, better way or if that will work for you
[06:56:14] noocx: Quit: leaving
[06:57:05] noocx: has joined #RubyOnRails
[06:58:40] noocx: Client Quit
[06:59:13] noocx: has joined #RubyOnRails
[09:45:52] noocx: has left #RubyOnRails: ()

2017-12-22

[21:04:25] noocx: has joined #RubyOnRails
[21:11:57] noocx: Quit: leaving
[21:12:39] noocx: has joined #RubyOnRails
[21:13:17] noocx: how good ror to build an ecommerce site with it compared to nodejs?
[21:18:36] noocx: fryguy: what that means?:)
[21:18:52] noocx: I'm in love with ror, but with node's performance too
[21:19:23] noocx: do I need much more resources to reach the same performance?
[21:20:06] noocx: shopify is built on ror or am I wrong?
[23:15:51] noocx: any of you using openproject, wrote a plugin for it?

2017-12-07

[03:36:56] noocx: has joined #RubyOnRails
[04:18:45] noocx: Quit: noocx

2017-12-06

[12:34:13] noocx: just .bash_profile didn't run
[16:14:41] noocx: Quit: noocx