search for: from_yaml

Displaying 2 results from an estimated 2 matches for "from_yaml".

2010 Oct 14
1
Ice Cube Rails problem
I''m using Ice_Cube to try and get the rule from a Model to be used to create a schedule, like so: @temp_sched.add_recurrence_rule IceCube::Rule.from_yaml(Transaction.last.rule) However this doesn''t seem to be the right thing, I just want to create a new Rule using the rule specified for each Model. IceCube::Rule.new(the rule) would be a good way, but this doesn''t seem to exist. Anyone know of a good way to create a rule using an...
2011 Aug 09
5
Bundle Install failing on deployment
...ocal/lib/ruby/site_ruby/ 1.9.1/rubygems/specification.rb:575:in `normalize_yaml_input'': invalid byte sequence in US-ASCII (ArgumentError ** [out :: westminster-agency.co.uk] ) ** [out :: westminster-agency.co.uk] from /usr/local/lib/ruby/ site_ruby/1.9.1/rubygems/specification.rb:487:in `from_yaml'' ** [out :: westminster-agency.co.uk] from /usr/local/lib/ruby/ site_ruby/1.9.1/rubygems/package/tar_input.rb:190:in `load_gemspec'' ** [out :: westminster-agency.co.uk] from /usr/local/lib/ruby/ site_ruby/1.9.1/rubygems/package/tar_input.rb:55:in `block in initialize''...