Ruby Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesRuby Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 13th, 2010, 09:27 AM
Larek Robinson's Avatar
Larek Robinson Larek Robinson is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2010
Location: Grand Rapids-ish, Michigan
Posts: 142 Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 11 h 55 m 15 sec
Reputation Power: 55
Hello

Hello, I am interested in learning Ruby. Can anyone suggest a good IDE/Compiler to use? I use Code::Blocks which is multi-platform, but I'm not sure if I can implement Ruby into it... and if I can, then I'm not sure how, as I've never done so before.

Also, can someone tell me some benefits to programming in Ruby?

Thanks,
Larek

Reply With Quote
  #2  
Old December 13th, 2010, 10:55 AM
L7Sqr L7Sqr is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2004
Location: Constant Limbo
Posts: 989 L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 22 h 45 m 6 sec
Reputation Power: 362
Send a message via AIM to L7Sqr
Why are you interested in learning Ruby if you do not yet know the benefits of such an act?

Ruby is a scripting language that is, in many ways, comparable to Python - but don't say that to a Rubyist or Pythonista. Ever.

Your best bet is to employ google and form a rough estimate of what the language can do (pay specific mind to the fact that Ruby is not the same as Ruby on Rails). Once you have that, return with more pointed questions.
__________________
True happiness is not getting what you want, it's wanting what you've already got.

My Blog

Reply With Quote
  #3  
Old December 13th, 2010, 05:46 PM
Larek Robinson's Avatar
Larek Robinson Larek Robinson is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2010
Location: Grand Rapids-ish, Michigan
Posts: 142 Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 11 h 55 m 15 sec
Reputation Power: 55
Okay, I can do that. Thanks L7Sqr =)

now, to answer your question:

Quote:
Why are you interested in learning Ruby if you do not yet know the benefits of such an act?


I want to expand my knowledge from merely coding in C++ and I've tried to learn Perl, but that wasn't a language that I wasn't motivated to learn, and upon looking at some of the questions posted here, Ruby looked like something that would be something I could get into easier than Perl.


one last thing:
Quote:
return with more pointed questions.


I do have one that remains unanswered:

Quote:
Can anyone suggest a good IDE/Compiler to use? I use Code::Blocks which is multi-platform, but I'm not sure if I can implement Ruby into it... and if I can, then I'm not sure how, as I've never done so before.


I would like to have some area to code in, so I can at least find out how to do my Hello World program, and fiddle around with it, so as to expand my knowledge.

and I have one more:

What are the main differences between Ruby and Ruby on Rails?

Last edited by Larek Robinson : December 13th, 2010 at 06:04 PM.

Reply With Quote
  #4  
Old December 13th, 2010, 07:23 PM
L7Sqr L7Sqr is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2004
Location: Constant Limbo
Posts: 989 L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level)L7Sqr User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 22 h 45 m 6 sec
Reputation Power: 362
Send a message via AIM to L7Sqr
Ruby is not compiled, it is an interpreted language meaning that it is read line-by-line and executed in turn.

You will need to download the language for your platform. As far as editors, use what is comfortable and supports syntax highlighting.

As I mentioned, Ruby is a language. Rails is a framework built on top of that language. Each has its share of websites out there that give much more detail that a single post here can. I would suggest you google for RubyQuiz though. It has a range of puzzles with answers all in Ruby - I'm not sure how active it is anymore but I believe the archives are still preserved. It would make a good introduction to Ruby-isms and flavor.

Reply With Quote
  #5  
Old December 14th, 2010, 09:54 AM
TheOtherDino's Avatar
TheOtherDino TheOtherDino is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2010
Location: Katy, Texas
Posts: 489 TheOtherDino User rank is First Lieutenant (10000 - 20000 Reputation Level)TheOtherDino User rank is First Lieutenant (10000 - 20000 Reputation Level)TheOtherDino User rank is First Lieutenant (10000 - 20000 Reputation Level)TheOtherDino User rank is First Lieutenant (10000 - 20000 Reputation Level)TheOtherDino User rank is First Lieutenant (10000 - 20000 Reputation Level)TheOtherDino User rank is First Lieutenant (10000 - 20000 Reputation Level)TheOtherDino User rank is First Lieutenant (10000 - 20000 Reputation Level)TheOtherDino User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 4 Days 18 h 25 m 29 sec
Reputation Power: 198
The NetBeans IDE offers good Ruby support, with a built-in trace.

Ruby is the language.

Rails is an application framework that is written in Ruby, and is used in building the infrastructure for websites.

Reply With Quote
  #6  
Old December 14th, 2010, 12:51 PM
Larek Robinson's Avatar
Larek Robinson Larek Robinson is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2010
Location: Grand Rapids-ish, Michigan
Posts: 142 Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level)Larek Robinson User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 11 h 55 m 15 sec
Reputation Power: 55
Okay, I downloaded and installed the NetBeans IDE for Ruby (and I even installed the plugin for C/C++). L7, I looked into RubyQuiz at school and it looked interesting, from what I could see(most of it was blocked by our fricking web filters....) and I intend on looking more in depth tonight.Thank you both for your help. =)

Reply With Quote
  #7  
Old December 18th, 2011, 12:12 PM
hopstream's Avatar
hopstream hopstream is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 193 hopstream User rank is Private First Class (20 - 50 Reputation Level)hopstream User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 23 m 26 sec
Reputation Power: 11
My opinion is that when you're started with learning a new language, a full fledged IDE is more like a crutch. Best to stick to a normal editor like TextMate or Sublime Text. Once you have a hold of the language, THEN think about an IDE like RubyMine.
__________________

Saving money is easy with discount codes from Rollback coupons. Coupon codes for online purchases.

Reply With Quote
  #8  
Old January 9th, 2012, 07:36 PM
Axers31 Axers31 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Location: Pa, USA
Posts: 1 Axers31 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 9 sec
Reputation Power: 0
Facebook
Quote:
Originally Posted by L7Sqr
Why are you interested in learning Ruby if you do not yet know the benefits of such an act?


Sometimes we don't need to know the benefits we can get. When curiosity knocks, everything is possible and besides almost everything in this world now can be learned.

Ruby is a great programming language and I would admit I still need to learn tons that would help me come up with a very good app.

Reply With Quote
  #9  
Old February 8th, 2012, 07:06 AM
totalknowledge totalknowledge is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2012
Posts: 60 totalknowledge User rank is Sergeant (500 - 2000 Reputation Level)totalknowledge User rank is Sergeant (500 - 2000 Reputation Level)totalknowledge User rank is Sergeant (500 - 2000 Reputation Level)totalknowledge User rank is Sergeant (500 - 2000 Reputation Level)totalknowledge User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 58 m 28 sec
Reputation Power: 8
Checkout Activestate (proprietary) and Geany (open source) for for IDE's.

Both Ruby and Python kind of fill the same niche. Right now Ruby is a tad more popular for the web, and Python is more popular for their other uses.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesRuby Programming > Hello

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap