For issues relating to developing in Ruby, version 1.9.3. If your question applies to Ruby in general, use the tag [tag:ruby].
Questions tagged [ruby-1.9.3]
495 questions
0
votes
2 answers
how to open pop up window table using selenium webdriver?
there is text label on a webpage, and I am trying to click on that to open a pop-up window,but not getting opened. here is the HTML code:
…

CodeLover
- 1,054
- 6
- 24
- 40
0
votes
1 answer
Gem install rails installing me an empty directory
I'm trying to install the updated version of rails, but after a bit I understood that the problem is that gem install rails is installing me an empty directory.
Notice that I didn't have any problem previously, I installed all rails versions…

Francesco Belladonna
- 11,361
- 12
- 77
- 147
0
votes
2 answers
Can I create directories with dynamic names on run time using Ruby1.9?
I have to download files from the web over several requests. The downloaded files for each request have to be put in a folder with the same name as the request number.
For example:
My script is now running to download files for request number 87665.…

CodeLover
- 1,054
- 6
- 24
- 40
0
votes
2 answers
Is there any package to drive excel applications using Ruby?
Except win32ole is there any other package to drive excel,CSV operations using Ruby?
Thanks

Arup Rakshit
- 116,827
- 30
- 260
- 317
0
votes
1 answer
Is it possible to download files from Filetype fields using Ruby?
I am looking for a way to download files from different pages and get them stored under a particular folder in a local machine. I am using Ruby 1.9.3
See the field below:
EDIT
here is the html content:

Arup Rakshit
- 116,827
- 30
- 260
- 317
0
votes
1 answer
Unable to run the rails generator for Draper
I'm on Ruby 1.9.3 and Rails 3.0.11. I recently installed Draper(0.12.0) gem, but I'm unable to run its generators. I get the following error when I try to run the generator on the Post model :-
rails generate decorator…

boddhisattva
- 6,908
- 11
- 48
- 72
0
votes
1 answer
rails3 loads my base class but doesn't evaluate my sub-classes when code changes
Quite complex, so I'll try to do it as simple as I can.
I have a rails application, and have a problem when I work in developement mode and change my code when the server is running.
I have the following models (with only the relevant code, if you…

Zach Moshe
- 2,782
- 4
- 24
- 40
0
votes
1 answer
How to install ruby1.9.3 on Mac OS 10.7.5?
I have installed XCode 4.5 and command line tools. Then I install the latest RVM. When I try to install ruby1.9.3, I got the following errors. It seems like the C compiler can't be executed.
chris$ rvm install ruby
No binary rubies available for:…

Chris
- 6,431
- 10
- 44
- 59
0
votes
1 answer
Some combo of Rails 3.2.8+ & MySQL not playing well together
We are in the process of upgrading to Ruby 1.9.3 from 1.8.7 plus trying to update Rails from 3.2.1 to 3.2.8 or 9. Our app works with Ruby 1.9.3-p327 and Rails 3.2.1, but as soon as I upgrade Rails to any higher version, I start seeing MySQL…

juicedM3
- 501
- 5
- 5
0
votes
2 answers
Ruby: Using a not defined variable
How can I make something like this?
1.9.3p286 :006 > defined? activated_flag
=> nil
1.9.3p286 :007 > puts (activated_flat ? "activated!" : "no activated")
I would like to see here no activated, but instead I have:
NameError: undefined local…

fguillen
- 36,125
- 23
- 149
- 210
0
votes
1 answer
How to use Ruby 1.9.3 in Cloubdees?
My build on Cloudbees fail. For some reason, it is using a file named 'use-ruby' to install Ruby 1.8.7.
Since I use and require 1.9.3, it is always failing. Is there a way to overide that file and get 1.9.3 instead?

SDD64
- 706
- 13
- 28
0
votes
2 answers
How MATURE is Ruby 1.9.3 on Ubuntu 12.04
Does anyone have a good guide to installing ruby 1.9.3 on Ubuntu that does use RVM? I have been developing in 1.8.7 for about a year, and am wanting to ugprade to 1.9.x.
After spending countless hours trying to install 1.9, I reached a point of…

vanboom
- 1,274
- 12
- 20
0
votes
1 answer
RVM + Ruby 1.9.3 on Linux Mint 12 - Is there a way to shorten the shebang line?
With my RVM/Ruby installation, my shebang line is the monstrous:
#!/home/kevin/.rvm/rubies/ruby-1.9.3-p286/bin/ruby
Is there a simple way to shorten it/use an alias?

Major Productions
- 5,914
- 13
- 70
- 149
0
votes
5 answers
Eloquent way to format string in Ruby?
str = 'foo_bar baz __goo'
Should print as
Foo Bar Baz Goo
Tried to use split /(\s|_)/, but it returns '_' and ' ' and multiple spaces...?
Ruby 1.9.3

B Seven
- 44,484
- 66
- 240
- 385
0
votes
1 answer
Rails server won't start after bundle update
I ran bundle update and now my server is throwing the following error:
rails s
/Users/toptier/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:77:in `rescue in rescue in block in require': undefined method `gsub' for…

Tony
- 10,088
- 20
- 85
- 139