Page 1 of 1
[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
[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
[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: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.
[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: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: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
[23:00:08] Iambchop: https://gist.github.com/ paste the code snippet and console output into the big text area and hit "create public"
[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:56:50] Iambchop: sioux: bundle exec rake redmine:plugins:migrate RAILS_ENV=production http://www.redmine.org/projects/redmine/wiki/Plugins
[03:00:29] Iambchop: yes https://github.com/redmine/redmine/blob/3.4-stable/Gemfile gem "rails", "4.2.8"
[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
[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
[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:23:47] Iambchop: dalitom: "/n" instead of "\n" do you need to interact with the commands or just run them? capture output?