I've been banging my head against the wall for the better part of an hour trying to figure out what's going wrong here, and I'm sure (or rather hoping) it's something fairly obvious that I'm overlooking. I'm using Ruby 1.9.1, Sinatra 1.0, and…
I just got my rails 2.3.8 app running on ruby 1.9.1. To get into the console, start the webserver, anything that initializes rails, takes 3 - 4 times longer in ruby 1.9 than in ruby 1.8.7. I'm using ruby version managers so I can easily switch…
So I'm writing some rspec tests and I'm embarrassed at my lack of Ruby understanding.
I have a file structure that looks like the following:
GUI_Tests/Tests/test_spec.rb
GUI_Tests/windows_gui.rb
GUI_Tests/upload_tool.rb
when I run spec for the…
Possible Duplicate:
Rails 3.0 & Ruby 1.9.2rc: Rake commands return 'already initialized constant' & stack level too deep errors. Any ideas
Am using Ruby version 1.9.1 on windows vista. Am getting the rake aborted error for any rake commands am…
I have a old app made on rails 1.2.5, this application have alot of access per day.
I intend to upgrade my server (a joyent accelerator) to run ruby 1.9.x and work with rails 3 but I can't stop or move this app to another server.
Have any way to run…
So for the last few weeks ive been reading posts on SO and other sites about Ruby IDE's, especially for support with Ruby 1.9. Aptana/RadRails plugin looks amazing as im very used to the eclipse environment, so I thought id give it a try.
I…
rubydoc.org has the core documentation for Ruby 1.8.x and Ruby 1.9.1, and for the 1.8.x standard library. But it doesn't document the 1.9.1 standard library, and nor does anywhere else I can find online (though Google shows other people looking for…
when i try to start the rails server this error ever appears
C:\Arthur\Ruby\Aplicações em ruby\blog>rails server
=> Booting WEBrick
=> Rails 3.2.6 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to…
I saw the example in the module_function in the ruby documentation. I do not understand the latter part of the code where Mod.one returns the old "this is one" and the c.one returns the updated "this is the new one". How does this happen
This is the…
I'm reading The Well-Grounded Rubyist and have come across an extra credit challenge to which there is no answer.
class Array
def my_each
c = 0
until c == size
yield(self[c])
c += 1
end
self
end
end
An example is…
I cannot use Rails console. Anything that I write there I get the following error.
Any idea?
/Users/macuser/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/irb/ruby-lex.rb:773:in `identify_identifier': invalid byte sequence in UTF-8…
I'm a fairly new dev to ruby and especially rails, but I do have some perl and php experience. Anyway, I'm trying to get rails version 3 configured on Ubuntu 10.10 using the latest ruby package: v1.9.2-p136. It isn't going too well, though better…
Whenever I require a file in ruby or irb I get this error:
LoadError: no such file to load -- (insert any filename).rb
from :29:in `require'
from :29:in `require'
…
I had rvm installed for several months and it has system (1.8.7) and installed (1.9.1) rubies listed. And both versions worked fine. Yesterday I tried to update 1.9.1 but after installation it wasn't working and system ruby gone from rvm list. I…
What command line options are available if you're using the Test::Unit compatibility layer in ruby 1.9.1?
Background:
ruby test/test_all.rb --help
provides information on what command line options are available in ruby 1.8.7, but not in ruby 1.9.1…