You cannot post messages because only members can post, and you are not currently a member.
Description:
This is a mirror list of the offical ruby-talk mailing list. It serves as a alternative to the mail<->news gateway (comp.lang.ruby). It exists to provide access to the mailing list via the convenience of Google Groups web-based client.
|
|
|
IMPORTANT: Posting to the ruby-talk ML through Google Groups
   
|
| |
Important Notice for Google Group users. You will need to be subscribed to ruby-talk ML even when posting through the Google Groups web interface. If you aren't subscribed to the ML Google Groups will NOT warn you. Your mail will be lost. Detailed information on how to subscribe to ruby-talk without... more »
|
|
Angle Identifier
|
| |
puts "Enter degree of angle:" measure = gets.chomp.to_i if measure == "180".to_i then puts "That's a straight angle." if measure == 181..359.to_i then puts "That's an obtuse angle." if measure == 91..179.to_i then puts "That's an obtuse angle." if measure == "90".to_i then puts "That's a right angle."... more »
|
|
Sinatra Error - `read ': Invalid argument .. (Errno::EINVAL)
|
| |
I'm hoping someone can help me here. I am a complete newbie to Ruby and Sinatra and cannot find any information related to this problem anywhere. Any help would be greatly appreciated. Ruby version=1.9.2 I also have ruby 1.8.5 installed in a different folder. But ruby -v gives 1.9.2. While following the Sinatra tutorial on... more »
|
|
A gem for web services load testing?
|
| |
Hi Folks - I've been developing automated functional tests in ruby for our website for the last few months, and now need to expand my scope. Before I hit google, can anyone recommend a gem which can perform load testing on a REST API? I realize I could probably build my own w/ mechanize + threading of some kind, but that seems like it'd be a lot of... more »
|
|
Installed gem does not load
|
| |
I am attempting run, in 1.8.6, an fxruby sample called babelfish.rb babelfish.rb requires a gem called tranexp I installed the gem and gem list --local produces (in part) produces tranexp (1.0.1) I, of course, tried to run babelfish.rb. Of course, it wouldn't run ... - - - babelfish.rb:4:in `require': no such file to load -- tranexp (LoadError)... more »
|
|
Mechanize Form File Upload
|
| |
Hi all, I'm trying to upload a file to a Form in this way. My Question is, how to get the imagefile posted correctly. def uploadpicture(username, password, imagepath) agent = Mechanize.new agent.post("[link]", { 'function' => 'picture2', 'username' => username,... more »
|
|
Dynamic variables in blocks vs constants
|
| |
Hi, I know that dynamic variables created in block it is not accessible from outside of that block but I noticed that dynamic constants can be accessed and I want to know why it is so. Sorry for my bad english. For better understanding of my problem I'm attaching code below. %w[magic MAGIC].each do |x|... more »
|
|
ruby without framework
|
| |
Can I use ruby code running in web browser without any frameworks used? Also anyone please tell me how to make framework, Please give me some tips or spark to start with. I need to make a new framework because I need to re-use the ruby code (actually shares the code) for desktop version and the new framework.... more »
|
|
How can I solve this issue?
|
| |
I have a script (Attached), which is based on this tutorial: [link] When I run the script, I get the following: C:\Users\Abder-Rahman\Desktop\ Research\dicom>ruby dicom_info.rb C:/Ruby191/lib/ruby/gems/1.9.1 /gems/activerecord-3.0.0/lib/a ctive_record/connec ion_adapters/abstract/connecti on_specification.rb:54:in... more »
|
|
Installing ActiveRecord gem
|
| |
I'm trying to install the ActiveRecord gem, but getting the following: C:\Users\Abder-Rahman\Desktop\ Research\dicom>gem install activerecord ERROR: While executing gem ... (Gem::RemoteFetcher::FetchErro r) too many connection resets ([link] 3.23.gem) How can I get this gem installed?... more »
|
|
|