ruby-1.9.2
RVM with ruby 1.9.2 error: no such file to load config/boot
I cannot seem to figure this out.I am new to the unix environment, so hopefully this will be an easy issue to solve.The issue is, when i\'m in the home directory and any directory after, rails cannot[详细]
2023-02-27 10:09 分类:问答Open classes in a module
I know I can execute the following to add methods to the String class class String def do_something puts self.size[详细]
2023-02-25 19:47 分类:问答UTF-8 string in Ruby
I have the following module: # encoding: utf-8 module RandomNameModule def self.doesNothing(word) str = \"\"[详细]
2023-02-25 19:13 分类:问答How to test private functions in a module
I have a two part question: Part 1 I have a module that has a public class method which depends on a few private helper methods in the module. What is the best way to test these private helper metho[详细]
2023-02-25 06:07 分类:问答hooks on steak (behaviour driven development)
I want to use hooks in steak to prevent excessive repetition of code. Is there any way to 开发者_开发技巧use hooks as in steaks like in cucumber? Any help will be appreciated.[详细]
2023-02-25 00:29 分类:问答require': no such file to load -- active_support/core_ext/logger
When I do rails s or rails c.. it gives me this error. tried removing rails and reinstalling then uninstalled whole of ruby and reinstalled both rails a ruby still the same error. line 7 that is gener[详细]
2023-02-24 01:01 分类:问答syncEnumerator equivalent in ruby 1.9.2
In ruby 1.8.x we iterate over multiple enumerables like this: require \'generator\' syncEnum = SyncEnumerator.new(enum1, enum2)[详细]
2023-02-22 05:45 分类:问答Error when installing "ya2yaml" gem on Windows7, Ruby1.9.2, Rails3
Installing ya2yaml (0.30) 开发者_Go百科c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:371:in `rescue in block in initialize_copy\': ya2yaml-0.30 has[详细]
2023-02-21 23:12 分类:问答cucumber test for ruby-1.9.2 and mongoid-2.0.0
I am having a really hard time. I am using cucumber tests for visiting a link. I am using the pickle web steps for[详细]
2023-02-21 18:03 分类:问答Rails app upgraded to Rails 3 on new system isn't using Mongrel
Given: A rails 2.3.x application currently being upgraded to rails 3. Upgrading ruby from 1.8.7 to 1.9.2[详细]
2023-02-19 23:20 分类:问答