Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJames Bajanov
33 PointsHow do you run the code/exercise in the workspace console?
Additionally; what are the different varietes/versions of Ruby & which would/should I download for a coding bootcamp I am attending?
2 Answers
Jay McGavren
Treehouse Teacher- Click the "Launch Workspace" button on the video page.
- Write your own code in the
rectangle.rb
file to complete the practice, or follow along with the solution video. - Save your code file.
- Click in the Console area so a blinking cursor appears.
- Type the command
ruby rectangle.rb
, and press Enter/Return.
Ari Misha
19,323 PointsHiya there! You should always work with latest or LTS(long-term support) version of any language 'coz firstly, its the most stable build and secondly, it's backward compatible to any version. And the same goes for Ruby. If you're working on a project, which uses the legacy version of Ruby, you might wanna migrate to a container like architecture, which would make deploy the architecture easier, kinda like Docker.
I hope it helped!
~ Ari
paul nabende
673 Pointswhy was this downvoted? seems a sound argument to me..
James Bajanov
33 PointsJames Bajanov
33 PointsDirect & straight to the point; thank you.