There once was a developer named “why the lucky stiff” also known as ”_why”. He did many great things in the Ruby world, including the creation of an website called Try Ruby which allowed anybody to try their hand at programming ruby by coding in the browser.
Here at Envy Labs we’ve been inspired by _why’s work and you can see his influence with Rails for Zombies, where we teach people Rails by coding in the browser. Rails for Zombies was such a huge success it led us to build Code School, where we build paid coding courses.
We’ve learned a great deal about how to do in-browser coding as we’ve built Code School, and a few months ago Eric Allam started to wonder if we should take our knowledge and contribute back to TryRuby. After a call to Andrew McElroy who graciously maintained the project with David Miani (after _why disappeared), Eric dove in.
Flash forward two months later and today we’re happy to announce the release of TryRuby version 3!
This new version contains a bunch of new things we’re excited about:
- New “Code School” Engine – Eric Allam worked many weekends to integrate Code School’s (Rails & Backbone.js) course engine and our code editor into the Try Ruby course. With this integration you now have the ability to save your progress using your Code School account, so you can come back later and pickup where you left off. Don’t worry, it’s completely optional.. you can still play through TryRuby without ever having a Code School account.
- New Design – We enrolled Envy Labs designer Nick Walsh to do a new design as our own tribute to “_why”. We’re really happy with the redesign which is not only more beautiful, but also has a better user experience (and it’s responsive!).
- New Sandboxing – The big issue with running user written Ruby code server-side is it could be EVIL! Yes, whatever you type in that Ruby console, we will run it on our precious little web server.. sounds dangerous right? With the help of Dray Lacy, Eric has created a library we’ll be releasing shortly called RubyCop. He’ll be doing a talk on Sandboxing this Saturday at Rubyconf if you happen to be here.
- New Host – We are hosting TryRuby up on Heroku, which (in our minds) makes things even more secure. Most of Code School is up on Heroku anyways, so it seemed like a great fit.
So… even if you’ve done it before or you’ve never programmed before in your life.. it may be time to dust off those chops and head over to TryRuby.org. If you do choose to login to Code School as you’re doing the course, we’ll even give you a badge for completing the course.
If you really dig these in-browser coding courses I highly recommend you signup for the Code School Newsletter. We have some additional free courses in the works (on top of the paid ones):



The new design is amazing, this remember me that i really miss _why
Congratulations and thank you!! My first contact with Ruby (five years ago, I think) was through TryRuby, and since then I always recommend it to people who want to have a (addictive) taste of Ruby :)
It looks very nice, a suitable homage to _why, but you should not hide the credits, they are pretty nice too.
Keep rocking!
Sweet! Love the new layout. As for a “small” recommendation, maybe next to the “Interactive ruby ready” put a “type help to get started”? Keep up the awesome work!
Slow and a little buggy :(
design is cool
This has been a project which at points had pushed me into overdraft on the hosting front. I’d just like to extend a huge thanks to envy labs for seeing the value in try ruby and taking the time to do a redesign. I’m still not giving up or backing down from releasing mobile versions of TryRuby.
— end of relevant try ruby message here –
– begin what I’ve been up to ramble here –
However, lately I have had my full attention on http://PetResQ911.org. A 501(c)(3) non profit public charity animal rescue which is working to roll out a computer vision animal tracking system to end the massive dumping and thus euthanizations or worse. Of course its a ruby shop- tech wise. The main website is RefineryCMS.
I know this might come off borderline/complete spamming, and if it does my apologies. However you don’t want to see the number of dumping and thus euthanizations being done in shelters in the US right now. They are by the wheel barrow. I say that to say this. Donate, we are working to change the system starting with a meeting with the mayor of Nashville next month. Thank you for not trimming this part of the message.
Thanks guys for all your kind words. There was definitely some slowness earlier today when we started to trend on Hacker News, but it seems like things are back to normal. Sorry about that.
Thanks again Andrew for working with us to make this happen!
Learning Ruby on Rails atm, so this site comes real handy.
One miner problem though: I use Hungarian keyboard language, and I can not type the ‘[' character in the prompt. It is Alt Gr + f in Hungarian. However, I can type ']‘, which is Alt Gr + g.
Hi,
I get this response when I do 2+6
>> 2 + 6
The page you were looking for doesn’t exist (404)
body { background-color: #fff; color: #666; text-align: center; font
-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
The page you were looking for doesn’t exist.
You may have mistyped the address or the page may have moved.
Wow! The new layout is beautiful! _why must be happy seeing this wherever he is now ;)
This is a sweet site. I would like to steal the internals of it, :).
Is the underlying Ruby sandbox library available somewhere–I’m looking for a secure way to execute Ruby submitted from the browser?
There are a couple of other Ruby sandbox libraries out there, but this one is pretty new so I figured I’d ask.