I dont know but i want devc++ as my environment can i run ruby
on devc++?
Can i Run ruby on DevC?Hello any tips?
Page 1 of 1
9 Replies - 2368 Views - Last Post: 07 May 2009 - 09:01 AM
Replies To: Can i Run ruby on DevC?
#2
Re: Can i Run ruby on DevC?
Posted 26 April 2009 - 08:37 AM
DevC++ is a C++ programming IDE. You can use Eclipse and the Aptana RadRails plug-in, however.
#3
Re: Can i Run ruby on DevC?
Posted 26 April 2009 - 04:33 PM
..i hate ruby environment i dont get it..
#4
Re: Can i Run ruby on DevC?
Posted 26 April 2009 - 08:40 PM
nerodamsel, on 26 Apr, 2009 - 03:33 PM, said:
..i hate ruby environment i dont get it..
Personally, I don't think an IDE is needed for Ruby programming. All you need is a regular text editor with syntax highlighting and everything else you might expect from it (like auto-indentation) and a command prompt open to run your code and tests. On Windows, ConTEXT and Notepad++ work well. On linux, depending on your desktop environment, you can use gedit or kate.
#5
Re: Can i Run ruby on DevC?
Posted 29 April 2009 - 09:29 PM
#6
Re: Can i Run ruby on DevC?
Posted 05 May 2009 - 11:47 AM
Let's say I have Notepad++ and I would like to, well not compile, but...run the program in Ruby. Now how do you do that? I know how to use Notepad++ for HTML documents & Javascript, but how do you use it with Ruby?

Oh...I think this answers my question. It's like with MySQL, you run it in the command prompt?
vikhyat, on 26 Apr, 2009 - 10:40 PM, said:
All you need is a regular text editor with syntax highlighting and everything else you might expect from it (like auto-indentation) and a command prompt open to run your code and tests. On Windows, ConTEXT and Notepad++ work well.
Oh...I think this answers my question. It's like with MySQL, you run it in the command prompt?
This post has been edited by OliveOyl3471: 05 May 2009 - 11:50 AM
#7
Re: Can i Run ruby on DevC?
Posted 06 May 2009 - 04:37 AM
OliveOyl3471, on 5 May, 2009 - 11:47 AM, said:
Oh...I think this answers my question. It's like with MySQL, you run it in the command prompt?
Exactly, tell your text editor (Notepad++) to run a command like
ruby <name of file>
This would run your ruby code provided the ruby interpreter is in your path variable.
#8
Re: Can i Run ruby on DevC?
Posted 06 May 2009 - 05:09 PM
It's not working. 
Is this what the command prompt should look like in Notepad++ for Ruby code?
[attachment=11745:attachment]
Is this what the command prompt should look like in Notepad++ for Ruby code?
[attachment=11745:attachment]
#9
Re: Can i Run ruby on DevC?
Posted 07 May 2009 - 08:50 AM
How did you install Ruby? You need to find the ruby.exe file in any event.
#10
Re: Can i Run ruby on DevC?
Posted 07 May 2009 - 09:01 AM
Oh crap! I forgot you have to install Ruby...
...maybe I'm not cut out for Ruby. I'm more of a C++ kind of gal.
Thanks for the tips though. Maybe someday I'll try it again. haha
...maybe I'm not cut out for Ruby. I'm more of a C++ kind of gal.
Thanks for the tips though. Maybe someday I'll try it again. haha
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote








|