Iambchop

Activity Graph

Page 1 of 1

2018-11-14

[03:46:30] Iambchop: ivanskie: you mean like a post-install script? by design gems don't support that; depending on why it needs done perhaps the installed gem could detect the need and do it automatically on first run or include instructions in a post-install message https://stackoverflow.com/questions/14395992/how-to-execute-a-script-while-gem-installation

2018-11-03

[17:09:33] Iambchop: inky: is 2.5.3 listed in rbenv versions? "install -l" lists what can be installed, "versions" lists what is installed

2018-11-02

[13:52:59] Iambchop: TvL2386: "You can connect to a [MS]SQL Database using Ruby on Windows, Linux, or Mac." https://docs.microsoft.com/en-us/sql/connect/ruby/ruby-driver-for-sql-server?view=sql-server-2017
[13:54:43] Iambchop: TvL2386: If you're hitting an error post a gist.
[13:56:15] Iambchop: TvL2386: It's been years since I've tried (and don't have a Windows box to test on) but it did work the last I tried.
[13:58:18] Iambchop: jlebrech: can you post a gist of the code and full trace of the error?
[14:13:03] Iambchop: jlebrech: paste the output of "bundle show"
[14:24:50] Iambchop: jlebrech: let us know if you figure it out or still have trouble :)
[14:35:57] Iambchop: jlebrech: are you using the chromedriver-helper gem?
[14:43:27] Iambchop: jlebrech: you might be able to use headless chrome in your ci

2018-10-31

[13:47:29] Iambchop: has joined #ruby

2018-06-20

[03:49:37] Iambchop: Ping timeout: 256 seconds

2018-05-29

[02:47:11] Iambchop: *.net *.split
[02:48:06] Iambchop: has joined #ruby

2018-05-07

[20:53:24] Iambchop: *.net *.split

2018-04-25

[12:25:37] Iambchop: *.net *.split
[12:27:10] Iambchop: has joined #ruby
[15:01:07] Iambchop: *.net *.split
[15:03:26] Iambchop: has joined #ruby

2018-04-24

[15:00:32] Iambchop: has joined #ruby

2018-03-02

[04:15:21] Iambchop: has joined #ruby

2018-03-01

[03:24:26] Iambchop: keithy: https://github.com/capistrano/sshkit
[03:25:07] Iambchop: (I haven't used sshkit; I have used net-ssh)
[03:31:59] Iambchop: I've also seen, but not used: https://github.com/duke-automation/net-ssh-telnet
[03:35:36] Iambchop: The SyncShell service allows you to execute commands on the shell and block until they finish https://net-ssh.github.io/ssh/v1/chapter-5.html#s4
[03:36:34] Iambchop: (oh that's an old version docs though)
[03:39:12] Iambchop: if you have a little use case to demonstrate, you can post a gist here later
[03:41:29] Iambchop: updated docs: http://net-ssh.github.io/net-ssh/Net/SSH/Connection/Session.html#method-i-exec-21 exec!() Same as exec, except this will block until the command finishes.
[03:56:24] Iambchop: keithy: for future reference https://gist.github.com/Iambchop/5e4b30c874f1ed62eb1c3b4388fd85c2
[03:57:29] Iambchop: dessm: can you post a simple gist with sample pre/post data?
[04:31:01] Iambchop: memo1: http://blog.luckyus.net/2008/05/14/auto-indent-in-irb/ ?
[04:31:24] Iambchop: http://tagaholic.me/2009/05/29/exploring-how-to-configure-irb.html
[13:18:34] Iambchop: phaul: share a gist of your code and issues?

2018-02-28

[23:23:43] Iambchop: Ping timeout: 265 seconds
[23:25:30] Iambchop: has joined #ruby

2018-01-07

[03:46:19] Iambchop: Guest35375: maybe I'm looking at the wrong things; but looks like rush doesn't use net::ssh but directly runs ssh commands, but rye does take a key parameter
[03:46:23] Iambchop: https://github.com/delano/rye/blob/master/lib/rye/box.rb
[03:46:34] Iambchop: https://github.com/adamwiggins/rush/blob/master/lib/rush/ssh_tunnel.rb
[03:47:16] Iambchop: could maybe use .ssh/config to configure the underlying ssh for rush?

2017-12-31

[15:36:00] Iambchop: Ping timeout: 248 seconds
[17:36:01] Iambchop: has joined #ruby

2017-12-21

[02:07:17] Iambchop: *.net *.split
[02:17:38] Iambchop: has joined #ruby
[06:26:10] Iambchop: *.net *.split
[06:31:48] Iambchop: has joined #ruby
[06:48:29] Iambchop: *.net *.split
[07:26:21] Iambchop: has joined #ruby

2017-12-06

[22:49:45] Iambchop: mynameisdebian: I've used roo but never ran into file locking problem
[22:50:52] Iambchop: you could copy to a tempfile and operate on that?
[22:51:29] Iambchop: you could copy to a tempfile and operate on that?
[22:51:51] Iambchop: oops double post :-(
[22:52:06] Iambchop: mynameisdebian: post a gist?
[22:53:41] Iambchop: what platform are you on? local or remote filesystem?
[23:00:08] Iambchop: https://gist.github.com/ paste the code snippet and console output into the big text area and hit "create public"
[23:08:19] Iambchop: (and then paste the resulting url here :-)

2017-11-06

[02:53:52] Iambchop: sioux: "gems/activerecord-5.1.2" but redmine 3.4 should be rails 4.2: http://www.redmine.org/projects/redmine/wiki/redmineinstall
[02:54:44] Iambchop: sioux: (alias_method_chain was deprecated then removed in rails 5.x)
[02:56:50] Iambchop: sioux: bundle exec rake redmine:plugins:migrate RAILS_ENV=production http://www.redmine.org/projects/redmine/wiki/Plugins
[02:59:18] Iambchop: sioux: I would think the redmine Gemfile would specify rails 4.2
[03:00:29] Iambchop: yes https://github.com/redmine/redmine/blob/3.4-stable/Gemfile gem "rails", "4.2.8"
[03:01:14] Iambchop: sioux: are you running bundle exec from the redmine directory root?
[03:13:29] Iambchop: from that link 3.4 is compatible with ruby ruby 1.9.3, 2.0.0, 2.1, 2.2, 2.3, 2.4 so your ruby should be ok
[03:14:45] Iambchop: then the bundle install should get the right version of rails
[12:50:56] Iambchop: sioux: looks like you're in "/opt/redmine/plugins" but should be in "/opt/redmine" e.g. https://www.redmineup.com/pages/plugins/agile/installation

2017-10-27

[02:29:22] Iambchop: axisys: there is a newer package for ruby in the scl repos: https://www.softwarecollections.org/en/scls/rhscl/rh-ruby23/
[16:56:10] Iambchop: dalitom: an example of using net-ssh to run a command with sudo and provide the password when prompted: https://irb.rocks/execute-sudo-commands-with-net-ssh/
[17:01:10] Iambchop: dalitom: if you have trouble, upload a gist of your code and ask for more help here :)
[17:18:06] Iambchop: dalitom: do you have some code you tried?
[17:23:47] Iambchop: dalitom: "/n" instead of "\n" do you need to interact with the commands or just run them? capture output?
[17:49:30] Iambchop: dalitom: https://gist.github.com/Iambchop/6b8b2c09dfc7fb2765953ffe7080c5a7

2017-10-11

[01:32:26] Iambchop: mrgordon: https://gist.github.com/anonymous/6200ced02171f4686cdc20eafaffae7d

2017-10-05

[00:19:00] Iambchop: has joined #RubyOnRails

2017-10-04

[02:55:48] Iambchop: has joined #ruby