Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 08 2018 19:36

    brixen on master

    Recommend ruby-install over bui… Clarity around old ruby-depende… Merge pull request #3 from jack… (compare)

  • Apr 08 2018 19:36
    brixen closed #3
  • Apr 08 2018 19:36
    brixen commented #3
  • Apr 08 2018 19:26
    jackdesert synchronize #3
  • Apr 08 2018 19:17
    jackdesert opened #3
  • Feb 06 2018 13:14

    gitbook[bot] on master

    Updates manuscript/io.md Auto … (compare)

  • Feb 05 2018 19:08

    gitbook[bot] on master

    Updates manuscript/io.md Auto … (compare)

  • Jan 05 2018 17:10

    chuckremes on master

    add notes on how to update prei… (compare)

  • Mar 21 2017 05:00

    brixen on master

    Add note about building with LL… (compare)

  • Nov 22 2016 01:41
    brixen commented #2
  • Nov 21 2016 12:41
    abnud1 edited #2
  • Nov 21 2016 12:41
    abnud1 opened #2
  • Aug 28 2016 03:24

    brixen on master

    Some preface edits. (compare)

  • Aug 27 2016 04:05

    brixen on master

    Fixed typo. (compare)

  • Aug 27 2016 04:04

    brixen on master

    Fixed some preface formatting. (compare)

  • Aug 26 2016 22:06

    brixen on master

    Added dedication and more prefa… (compare)

  • Aug 21 2016 22:03

    brixen on master

    Some edits for Preface. (compare)

  • Aug 21 2016 04:53

    brixen on master

    Updated file naming and ToC. (compare)

  • Aug 20 2016 22:00

    brixen on master

    Updated Leanpub book.txt. (compare)

  • Aug 20 2016 21:56

    brixen on master

    Moved some stragglers. (compare)

SolarAquarion
@SolarAquarion
raceback (most recent call last):
8: from /bin/bundle:23:in <main>' 7: from /bin/bundle:23:inload'
6: from /usr/lib/ruby/gems/2.5.0/gems/bundler-1.16.2/exe/bundle:10:in <top (required)>' 5: from /usr/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
4: from /usr/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in require' 3: from /usr/lib/ruby/site_ruby/2.5.0/bundler.rb:3:in<top (required)>'
2: from /usr/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:34:in require' 1: from /usr/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:130:inrescue in require'
/usr/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:130:in `require': cannot load such file -- bundler/compatibility_guard (LoadError)
Brian Shirai
@brixen
hm, that's weird
can you run bundle --version ?
SolarAquarion
@SolarAquarion
no
bundle --version
Traceback (most recent call last):
8: from /bin/bundle:23:in <main>' 7: from /bin/bundle:23:inload'
6: from /usr/lib/ruby/gems/2.5.0/gems/bundler-1.16.2/exe/bundle:10:in <top (required)>' 5: from /usr/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
4: from /usr/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in require' 3: from /usr/lib/ruby/site_ruby/2.5.0/bundler.rb:3:in<top (required)>'
2: from /usr/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:34:in require' 1: from /usr/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:130:inrescue in require'
/usr/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:130:in `require': cannot load such file -- bundler/compatibility_guard (LoadError
Brian Shirai
@brixen
can you run gem list bundler ?
SolarAquarion
@SolarAquarion
bundler (default: 1.16.2)
Brian Shirai
@brixen
looks like that's the most recent one
I think I read that 2.5 vendors Bundler now, so probably an issue for MRI itself if that is true
sorry, gotta run for a bit
SolarAquarion
@SolarAquarion
@brixen i honestly have no idea why if i use the rubinius interperter it works better then using the ruby interperter
Zak Storer
@zacts
@SolarAquarion the goals of Rubinius kind of differ than plain Ruby
one major goal of rubinius is to support more languages than just Ruby
and to let them play together
but also the Rubinius concurrency model is superior to Ruby from what I gather
there is also jruby though for that as well
Rubinius is a work in progress though, quite honestly
(I'm not a developer at all though, just a user)
borjarobles
@BorjaRobles
Hi guys I just found rubinius, It is possible to run selenium with rubinius for true paralel tests ?
Brian Shirai
@brixen
hey @BorjaRobles, to answer your question requires talking about a few different things, so let's see if I can do that
Rubinius doesn't have a global interpreter / vm lock, so in Rubinius, Ruby code can run in parallel if there are CPUs or cores available to it
but there are still places that synchronization is required, so that will force all threads to serialize through that critical section
one of those places is when creating subprocesses (eg fork/exec), and other places involve various parts of IO because Ruby has never clearly defined multi-threaded concurrency behavior
borjarobles
@BorjaRobles
well I dont really know how works selenium on the background
Brian Shirai
@brixen
all these different moving pieces makes it hard to say "Yes" or "No" in a meaningful way
me neither :)
essentially, you'd have to try it and see what sort of parallelism you get, and if it's not what you expect, we'd have to look into where synchronization is occurring and whether that can be reduced (which it's certainly possible that it may be reduced)
Mehmet Aydogdu
@fastengineer
hi
i couldn't find any reference doc or book for learning rubinius
Brian Shirai
@brixen
What are you interested in learning?
Mehmet Aydogdu
@fastengineer
writing like ruby
but fast
small libraries, gems
aolko
@aolko
full book when?
ShalokShalom
@ShalokShalom
hi there :)
this says JIT is implemented, I thought thats still incorrect? https://rubinius.com/about/
Brian Shirai
@brixen
Rubinius had (and will have) a JIT
that about page is historically accurate and doesn't say Rubinius currently has a JIT, but check back tomorrow :)
Brian Shirai
@brixen
@ShalokShalom if you're interested in the new JIT, check out the rubinius/rubinius channel :point_up: May 29, 2019 8:28 PM
aolko
@aolko
Full book when? :mega:
Brian Shirai
@brixen
@aolko could you add to your question? Is there particular info you’re looking for?
ShalokShalom
@ShalokShalom
ah, thanks a lot
what I am interested in: Rubinius treats functions differently as CRuby. Luckily. How does this work with IDEs and stuff?
aolko
@aolko
@brixen have you even read the book?
it's clearly unfinished
and rotting still
Brian Shirai
@brixen
@aolko I’m writing the book, so yes, I know this. 😉 Is there a topic or area you’re especially interested in?
@ShalokShalom CRuby doesn’t have “functions” (they are just methods on modules), but in Rubinius they will be actual functions with lexical scope. I don’t have a good answer on IDEs, but Rubinius is just a lot of Ruby objects (eg you can get Ruby objects for LexicalScope, BlockEnvironment, etc), so I expect an IDE to be able to use Ruby code to get info for eg intellisense like features
aolko
@aolko
using rubinius for language design
i.e. building a language on it