First | Prev | Next | Last
Pages: 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
Detecting Single Modifier Key Presses (Is HighLine Not Able?
<2.33GHz MBPC2D, Running OS X 10.6.3, Ruby 1.8.7 (173)> Greetings, folks! Quick question: Is there any way for Ruby to return the state of any of the keyboard modifier keys? I thought HighLine might be able to do so, but, AFAICT, it only returns keys that would appear in text. I just need to know if the Caps... 3 May 2010 14:14
key search in files
i am trying to find a set of keys within specific files under a specific directory. i read the keys from a file and iterate through them opening and looking all the files under the specified directory. However only the last key seems to be found in the files.. srcFiles = Dir.glob(File.join("**", "*.txt")) keys =... 4 May 2010 04:37
Bundler gem: "no such file to load"
Hi guys, I have some troubles with a Ruby gem... named Bundler. My OS is Ubuntu 10.04. My environment is as follows: $ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.6 - RUBY VERSION: 1.9.1 (2010-01-10 patchlevel 378) [i486-linux] - INSTALLATION DIRECTORY: /usr/lib/ruby1.... 3 May 2010 13:08
how to use load comman(in mysql) in ruby?
in mysql,it can run: LOAD DATA LOCAL INFILE "/home/pt/test/bal.csv" INTO TABLE bal FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n' IGNORE 1 LINES; in my ruby programm: str="LOAD DATA LOCAL INFILE \"/home/pt/test/bal.csv\" INTO TABLE bal FIELDS TERMINATED BY ',' ENCLOSED BY ' \"' LINES TERMINATED... 5 May 2010 10:24
Ruby Midwest Conference Early Bird Pricing
[Note: parts of this message were removed to make it a legal post.] Hello, I want to remind everyone to register (http://j.mp/rmw-register) for Ruby Midwest before May 15 to get the Early Bird pricing of $75. If you're not already doing so, then be sure to start following @RubyMidwest (http://twitter.com/Ru... 3 May 2010 09:49
i wanted to install icur (within MacRuby) and get the following : zsh-% sudo macgem install icu4r Building native extensions. This could take a while... ERROR: While executing gem ... (TypeError) can't convert Float into String can't convert Float into String (TypeError) i think this comes from the n... 3 May 2010 08:43
Doubt regarding Exception handling in Watir
Hi all, below is my code def gotourl(url) begin $ie.goto(url) rescue Watir::Exception::NavigationException => e puts "navigation error" printscreen(url) end end 1.in IE 8.0 version i get this error message when i navigate to invalid URL "Internet Explorer cannot display the webpage" my doubt is why re... 3 May 2010 07:38
bottom line question to help me get started
I will take Walton's advice and read the "poignant guide to Ruby". When I have more or less mastered Ruby's syntax, I will then look into designing interface. So bottom line question is this: To make a usable program for my company, should or shouldn't I use an IDE together with Ruby? Seebs says IDE's are... 3 May 2010 04:25
MacRuby 0.5 : Library not loaded
Hi, I'm using XCode 3.2.3 and MacRuby 0.5. I have created a MacRuby project which works perfectly on my mac. But when i try the .app on another mac where probably the dev tools are not installed, i got this error : dyld: Library not loaded: /Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/libmacruby... 3 May 2010 04:25
Install from source on CentOS question
I am attempting to install 1.9.1 from source on CentOS 5.4 and am running into an issue. after unpacking the archive and cd-ing into the ruby-1.9.1-p376 I run: /configure --with-openssl-dir=/usr/lib/openssl but the last line of the output shows: config.status: creating Makefile configure: WARNING: unrecognize... 3 May 2010 04:25