Click here to Skip to main content
15,891,607 members
Everything / Programming Languages / Ruby 1.8

Ruby 1.8

Ruby1.8

Great Reads

by Piotr Grygorczuk
The Win32 serial port class for Ruby.
by wliao
Implementing an auto completion feature with Redis, NodeJS and jQuery
by Kanhar Munshi
A heavily optimized program written in Scheme that generates accurately the digits of the golden Ratio
by Marc Clifton
A quick test of Ruby performance vs. C#

Latest Articles

by wliao
Implementing an auto completion feature with Redis, NodeJS and jQuery
by Marc Clifton
A quick test of Ruby performance vs. C#
by Piotr Grygorczuk
The Win32 serial port class for Ruby.
by Kanhar Munshi
A heavily optimized program written in Scheme that generates accurately the digits of the golden Ratio

All Articles

Sort by Score

Ruby 1.8 

15 Mar 2011 by Piotr Grygorczuk
The Win32 serial port class for Ruby.
17 Dec 2014 by wliao
Implementing an auto completion feature with Redis, NodeJS and jQuery
3 Mar 2010 by Kanhar Munshi
A heavily optimized program written in Scheme that generates accurately the digits of the golden Ratio
22 Aug 2012 by polurupraveen
str = File.open('rename.rb','w')content = str.readputs contentenderror at line 4pls helpi'm a newbie
21 Apr 2013 by UL UL ALBAB
C:\Sites>gem install rmagickTemporarily enhancing PATH to include DevKit...Building native extensions. This could take a while...ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rbchecking...
3 Jul 2013 by CHill60
There are full instructions on the fedena site http://www.projectfedena.org/install[^]Looking at the error above I don't think you've done step 3 "Install MySQL"
11 Jun 2014 by Mdzzzl5
Couple issues with this that I see, sorted hopefully in the order of interpreter failures:1) You don't need that end. There's nothing opening it - no if, while, begin block, etc. 'kend' is the symbol for a lexicographical end - that is, an end written by the programmer. $end is the symbol...
2 Jul 2014 by Mdzzzl5
Can you include the actual error message? That's pretty critical.Thanks,
18 Jul 2014 by Viral Prajapati
please help me to solve it...i am working in ruby with store procedure with following code.... call_stored_proc_verb="exec" name="dbo.SpData" args=1 sql = "#{call_stored_proc_verb} #{name} #{args}" results=ActiveRecord::Base.connection.execute(sql) ...
13 Oct 2014 by Anuj Dubey
Need some more details. According to your question I think you have to set the column length through model. Let's say we have a model called customer.rband we have a column name "first_name" and we have to set its maximum length to 30 characters.If the length exceed 30 characters then...
14 Dec 2018 by Akin0
Hello, So I am working with Ruby, and... I have an error "ERRNO::EEXIST, text line 2 ... File exists" The error occurs if a directory it created (defined in EGGPATH) already exists, which should work in itself because of "unless File.exist?(EGGPATH)" While what I'm trying to do is: def cyhm ...
12 Dec 2018 by Richard MacCutchan
You most likely should use Dir.exist, not File.exist to check for a directory.
15 Dec 2018 by Akin0
Okay, so the problem actually was -- Ruby cannot stand checking the names that have other characters than English alphabet in itself. That was actually pretty hard to come up with, but I guess this is the solution.
8 Nov 2012 by Marc Clifton
A quick test of Ruby performance vs. C#
13 Apr 2009 by adminmyserver
Ruby on Rails application for the world's fastest server data.
13 Aug 2014 by Member 11010263
Hi,I am new to Ruby on rails and facing trouble in setting the column width of the table.I am generating a word document (RoR app) where I have multiple tables and I use "com.lowagie.text.Table". However, I am not able to change the width of the table column.
3 Jul 2013 by UL UL ALBAB
Error List:C:\fedena>rake fedena:plugins:install_all --trace(in C:/fedena)** Invoke fedena:plugins:install_all (first_time)** Invoke environment (first_time)** Execute environmentrake aborted!Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (no such...
24 Feb 2014 by Luis Amador
Hi! I'm having a trouble in a ruby program.When I make the @logger.add(file)It fails. I've been debuggin my program and the trouble is with the net/ssh gem.Do you have any tip for solving this?
27 Feb 2015 by ashu2188
Hi,I am fairly new to Ruby and figuring out how it works. I have been assigned a task to create a script where I need to take 2 csv and replace data from one csv to another for certain column.I don't know how do I get the column count. I guess if I can get the column count, I can...