texasmynsted

Activity Graph

Page 1 of 1

2017-11-05

[21:45:54] texasmynsted: has left #ruby: ("WeeChat 1.9")

2017-11-04

[05:22:04] texasmynsted: Read error: Connection reset by peer
[05:22:20] texasmynsted: has joined #ruby

2017-11-02

[05:23:10] texasmynsted: has joined #ruby
[05:26:32] texasmynsted: I see .rvm referenced in my .bashrc but no $HOME/.rvm directory exists. I also see chruby. Is chruby an alternative to rvm?
[05:27:13] texasmynsted: I am trying to install bundler (again) for my octopress site, but failure message
[05:28:07] texasmynsted: gem install bundler
[05:28:11] texasmynsted: ERROR: While executing gem ... (Errno::EACCES)
[05:28:25] texasmynsted: sudo gem install bundler results in
[05:28:45] texasmynsted: ERROR: While executing gem ... (Errno::EPERM)
[05:29:04] texasmynsted: which ruby = "/usr/bin/ruby"
[05:29:26] texasmynsted: ok, that is likely not goo
[05:30:55] texasmynsted: in the project I see both ".rbenv-version" and a ".rvmrc"
[05:31:13] texasmynsted: there seems to be no rvm executable in the path.
[05:31:41] texasmynsted: so `rvm implode` = command not found
[05:35:24] texasmynsted: rvm is not installed
[05:35:33] texasmynsted: I checked brew and macports
[05:36:47] texasmynsted: I can start from there. I have rubies installed and somethhing called ruby_select
[05:47:18] texasmynsted: hopefully there will be no conflicts
[05:53:29] texasmynsted: this link right?
[05:53:31] texasmynsted: http://ryanbigg.com/2015/06/mac-os-x-ruby-ruby-install-chruby-and-you
[05:55:22] texasmynsted: ok, thank you.
[05:55:30] texasmynsted: will give that a try tomorrow.
[15:06:30] texasmynsted: hmm. Why does "ruby-install --latest ruby" need my root password?
[15:06:56] texasmynsted: This is a brew thing, it should not need root right?
[15:08:19] texasmynsted: no just ruby-install
[15:10:20] texasmynsted: I just did a ctrl-z and then whoami, and I am me not root
[15:11:22] texasmynsted: both directories created w/o error
[15:12:36] texasmynsted: as expected, not UID 0
[15:13:29] texasmynsted: I suppose I need deps
[15:13:32] texasmynsted: ACTION shrug
[15:13:57] texasmynsted: I do not care about it asking for root. I just care that it is installing correctly
[15:15:03] texasmynsted: I suppose everything it is doing can be un-done if needed.
[15:17:47] texasmynsted: ok, got message "Successfully installed ruby 2.4.2 into /Users/mmynsted/.rubies/ruby-2.4.2"
[15:18:19] texasmynsted: that sounds encouraging
[16:27:26] texasmynsted: Ok, I have a Gemfile with many gems. How do I find out what the latest stable version is, say of rake? I have 0.9 listed in Gemfile. Maybe it does not matter?
[16:30:00] texasmynsted: if I do "gem list" it will show me the current versions of locally installed gems.
[16:32:20] texasmynsted: that seems better than gem list -r |grep '^rake '
[16:34:16] texasmynsted: if I bundle update, will that update to the latest "compatible" versions?
[16:34:37] texasmynsted: or just try to update everything to the latest stable version?
[16:36:19] texasmynsted: ACTION shrug. Just going to try and see what happens
[16:38:06] texasmynsted: oh I see. It does not alter the Gemfile
[16:44:55] texasmynsted: I am just going to try to update the Gemfile to all latest and see what happens.
[16:45:05] texasmynsted: This seems wrong but.
[16:45:07] texasmynsted: ACTION shrug
[16:50:40] texasmynsted: I need to update the constraints but octopress seems dead so who knows if I am breaking it
[16:50:52] texasmynsted: I need a newer jekyll
[16:51:53] texasmynsted: I should likely replace octopress but do not want to take the time at the moment, for something working
[16:53:45] texasmynsted: sigh " You have already activated rake 12.0.0, but your Gemfile requires rake 12.2.1."
[16:54:48] texasmynsted: I thought bundle install would install the version from the Gemfile
[16:56:13] texasmynsted: so basically use the rake as defined in the Gemfile rather than whatever is installed for my local system?
[17:03:27] texasmynsted: That totally hosed octopress
[17:06:44] texasmynsted: If put my gemfile back to the way it was, I should be able to bundle install, to restore what I had, right?
[17:09:32] texasmynsted: So pull my Gemfile and Gemfile.lock from git. Then bundle install and all good?
[17:10:22] texasmynsted: Ok. Will try that... And see if I can get this working again
[17:10:52] texasmynsted: I have been wanting to write my own in Haskell. Have some of it
[17:11:34] texasmynsted: yasod can do static sites also iirc
[17:12:32] texasmynsted: It is just time.
[17:13:14] texasmynsted: And right now octopress has all the nice features, like updating RSS feeds, google, auto-deployment, etc, etc.
[17:13:44] texasmynsted: Do not want a Go based site
[17:15:10] texasmynsted: All I wanted was the ability to pass parameters to an include, heh. Modern Jekyll can do this no problem.
[17:18:05] texasmynsted: Hmm "An error occurred while installing yajl-ruby (1.1.0)"
[17:19:19] texasmynsted: My Gemfile wants Ruby 2.0.0, I have the latest installed. I seem to be unable to install 2.0.0. If I update the Gemfile to use 2.4.2 then I get this error on bundle install.
[17:24:32] texasmynsted: Maybe I just need a old 2.0.x version of Ruby for it.
[17:24:55] texasmynsted: I keep trying ruby-install ruby 2.0.0, or 2.0, or 2.0-stable, etc.
[17:25:02] texasmynsted: But it can not find any of them.
[17:25:44] texasmynsted: I see ruby-2.0.0-p648.tar.bz2 here --> https://cache.ruby-lang.org/pub/ruby/2.0/ but I have no idea if this is stable or what
[17:26:44] texasmynsted: heh It install p648 but
[17:27:10] texasmynsted: This is exactly the kind of stuff that is frustrating for a simple static site
[18:18:19] texasmynsted: so chruby is global and persistent?
[18:19:36] texasmynsted: like ~/.ruby-version ? I guess
[18:20:31] texasmynsted: oh nice, thank you
[18:21:16] texasmynsted: ok, now I see what it meant by auto. Ok this is very nice
[18:25:20] texasmynsted: oh I guess chruby does not persist unless you create the .ruby-version file
[18:26:16] texasmynsted: this is perfect

2017-07-03

[15:39:12] texasmynsted: Ping timeout: 260 seconds
[15:40:36] texasmynsted: has joined #ruby
[15:47:57] texasmynsted: Ping timeout: 260 seconds
[15:50:35] texasmynsted: has joined #ruby
[16:01:17] texasmynsted: Ping timeout: 240 seconds
[16:07:15] texasmynsted: has joined #ruby
[17:20:22] texasmynsted: Quit: ZNC - http://znc.in
[17:20:52] texasmynsted: has joined #ruby
[17:36:15] texasmynsted: has left #ruby: ()

2017-07-02

[03:25:32] texasmynsted: is there not a #rails channel?
[03:26:33] texasmynsted: what server should I use in order to take fully advantage of multi-threading of JRuby? Can this be the same as the server used for C-Ruby?
[03:26:56] texasmynsted: irrc passenger would work this way but one needed to upgrade to enterprise to get full multi-threading support.
[03:27:38] texasmynsted: I thought perhaps _my_ question was more rails-ish
[22:59:27] texasmynsted: Read error: Connection reset by peer
[23:04:48] texasmynsted: has joined #ruby

2017-06-30

[04:07:40] texasmynsted: has joined #ruby
[23:36:55] texasmynsted: Read error: Connection reset by peer
[23:43:02] texasmynsted: has joined #ruby

2017-06-15

[15:26:57] texasmynsted: Ping timeout: 240 seconds
[15:38:48] texasmynsted: has joined #ruby
[16:05:05] texasmynsted: has left #ruby: ()

2017-06-14

[04:35:35] texasmynsted: Ping timeout: 240 seconds
[12:51:07] texasmynsted: has joined #ruby

2017-06-13

[04:59:55] texasmynsted: Ping timeout: 255 seconds
[05:01:18] texasmynsted: has joined #ruby
[06:06:33] texasmynsted: Ping timeout: 255 seconds
[12:58:47] texasmynsted: has joined #ruby

2017-06-12

[15:21:35] texasmynsted: Read error: Connection reset by peer
[15:58:50] texasmynsted: has joined #ruby

2017-06-10

[15:47:42] texasmynsted: Ping timeout: 240 seconds
[16:33:30] texasmynsted: has joined #ruby

2017-06-08

[20:35:42] texasmynsted: Ping timeout: 260 seconds
[20:38:26] texasmynsted: has joined #ruby

2017-06-07

[21:31:46] texasmynsted: Ping timeout: 240 seconds
[21:34:12] texasmynsted: has joined #ruby

2017-06-06

[01:27:58] texasmynsted: has joined #ruby
[01:28:30] texasmynsted: is it possible to paste a multi-line block of code into IRB repl?
[01:33:38] texasmynsted: Just broke all over the screen
[01:33:57] texasmynsted: Was looking for something like the :past command from the scala repl
[01:37:51] texasmynsted: wow, Pry is pretty amazing
[01:38:35] texasmynsted: Thank you. I will try pry and maybe sometime, go back and see what what happening with irb
[03:58:39] texasmynsted: Ping timeout: 255 seconds
[04:06:50] texasmynsted: has joined #ruby

2017-06-05

[00:17:39] texasmynsted: Ping timeout: 268 seconds
[00:20:02] texasmynsted: has joined #ruby
[00:24:52] texasmynsted: Ping timeout: 246 seconds
[00:25:57] texasmynsted: has joined #ruby
[00:56:51] texasmynsted: Ping timeout: 272 seconds
[00:57:25] texasmynsted: has joined #ruby
[01:24:49] texasmynsted: has left #ruby: ()

2017-06-04

[19:47:36] texasmynsted: has joined #ruby
[19:47:56] texasmynsted: Where is the ruby online docs?
[19:48:03] texasmynsted: I thought is was here —-> http://ruby-doc.org/
[19:48:11] texasmynsted: but that site is down or does not exist
[19:48:40] texasmynsted: It there a way to install those docs locally?

2015-05-09

[21:33:37] texasmynsted: installed rbenv and if I rbenv init -
[21:33:49] texasmynsted: then it has a call to source "/opt/local/bin/../completions/rbenv.bash"
[21:33:57] texasmynsted: That file does not exist.
[21:35:41] texasmynsted: I see it in the git repo???. so nm
[21:37:34] texasmynsted: are those alternatives to rbenv?
[21:39:06] texasmynsted: oh chruby looks like a rbenv alternative.
[21:39:13] texasmynsted: I just want something that works
[21:39:28] texasmynsted: if chruby is better than rbenv then great
[21:42:29] texasmynsted: bummer, no macport for it.
[21:45:52] texasmynsted: yeah, I have moved away from homebrew
[21:46:00] texasmynsted: No intention of going back
[21:46:38] texasmynsted: looks like I could install from the git repo
[21:47:05] texasmynsted: Would you say chruby or rbenv is simpler?
[21:48:55] texasmynsted: https://github.com/postmodern/ruby-install
[21:49:27] texasmynsted: sounds like a winner to me
[21:49:36] texasmynsted: ACTION intalling chruby and ruby-install
[21:50:46] texasmynsted: thank you both
[21:51:52] texasmynsted: is there a problem with installing on mac os x from the git repos?
[21:52:17] texasmynsted: modify rubies?
[21:54:27] texasmynsted: ok. Is that persistant?
[21:55:02] texasmynsted: or do I need to open a new shell each time I want a particular version of ruby?
[21:58:08] texasmynsted: can I type something to see it is workign?
[21:59:49] texasmynsted: chruby does nothing??? I think I need to install some rubyies
[22:00:41] texasmynsted: oops, did not open a new shell.
[22:00:49] texasmynsted: just now typed ruby-install ruby
[22:00:52] texasmynsted: hope that was not bad
[22:01:32] texasmynsted: -bash: chruby: command not found"
[22:01:32] texasmynsted: from new shell get "$ chruby
[22:05:53] texasmynsted: have to try this later.
[22:06:19] texasmynsted: sudo ./scripts/setup.sh errored out, think I fixed