James Adam boosted

Dear Ruby devs and game devs. I have a crazy announcement I want to share. Please boost.

Last week I released A Dark Room to the Nintendo Switch. Within the game, I also shipped a Ruby interpreter and a code editor as an Easter Egg.

*This Easter Egg effectively turns every consumer spec-ed Nintendo Switch into a Ruby Machine.*

1. Download A Dark Room from the US/EU.
2. Connect a USB keyboard and press the “~” key.
3. Follow the onscreen instructions.

James Adam boosted
James Adam boosted

I’m available for software development work. Looking for contract, max 4 days/week, mostly remote, not socially destructive. Ruby/Elixir/Scheme/anything else within reason. All leads gratefully received!

James Adam boosted
James Adam boosted

You know you're getting old when you find yourself wishing that RubyGems weren't always named using puns...

James Adam boosted

Rubyists, we’re putting together Thailand’s first RubyConf. Please spread the word, CfP to open soon.
---
RT @rubyconfth@twitter.com
It's up!
rubyconfth.com/
twitter.com/rubyconfth/status/

@codesections I switched to (via ) last year and while I can't comment on the multi-decade prospects, I've been very happy with the ecosystem so far

James Adam boosted

Hi all, my name is Rodrigo and I've been developing with Ruby for 4 years now.
Lately I've been using Hanami at work and in some personal projects, but I really want to get back to develop some stuff with Rails again.

James Adam boosted

It would be helpful if someone could FedEx a paddle up this creek.

@jeromedalbert I believe something like guard’s mapping might help with that

I put it in a file called `~/bin/test-diff` and mark it as executable.

A script to run tests changed since master, pretty handy when checking PRs:

test_runner = File.exists?("Gemfile") ? "bundle exec " : ""
test_runner += if File.exists?("config/application.rb")
"rails test"
elsif File.directory?("spec")
"rspec"
elsif File.directory?("test")
"ruby -Itest"
else
"ruby"
end
changed_test_files = `git log --name-only --pretty=oneline --full-index master..HEAD`.split.select { |f| f =~ /\Atest|spec/ }
exec "#{test_runner} #{changed_test_files.join(' ')}"

A quick thanks again to the very kind folks and companies who are sponsor the ruby.social instance and help keep the lights on here.

If you'd like to join them, it's super easy, and every little bit is appreciated: patreon.com/join/rubysocial

@judofyr I always figured it was a place to put all the not-really-OO stuff that doesn't really belong in Object and subclasses (like convenient IO and running subprocesses and other procedural helpers)

@lodestone wow, such a long time ago! Hope you're doing well, and I'll have a think about anyone I can refer to Laurie's study :)

Show more
Ruby.social

A Mastodon instance for Rubyists & friends