search for: keyword_end

Displaying 4 results from an estimated 4 matches for "keyword_end".

2010 Jan 18
1
binarylogic-searchlogic ~> 2.0 binarylogic-authlogic mbleigh-subdomain_fu
...39;';'' or ''\n'' when "string", "text": "''foo''" ^ /var/www/project/005/vendor/plugins/sweatshop/tasks/ sweatshop_tasks.rake:32: syntax error, unexpected keyword_when, expecting keyword_end when "integer": 1 ^ /var/www/project/005/vendor/plugins/sweatshop/tasks/ sweatshop_tasks.rake:32: syntax error, unexpected '':'', expecting keyword_end when "integer": 1 ^ /var/www/project/005/ven...
2012 Sep 30
3
How to escape a forward slash with gsub, also does interpolation work with gsub?
I am trying this: I want to replace all the text in between java comments: /* start */ replace this text here /* end */ I''m trying: text.gsub(//* start */(.*)/* end *//im, replace_with) But i''m getting errors relating to expecting keyword_end. How should I be escaping /* and */ ? Also, does string interpolation work in gsub regex? Say I had variables like: start_tag = "/* start */" end_tag = "/* end */" I want to do: text.gsub("#{start_tag}(.*)#{end_tag}", replace_with) -- You received this messag...
2007 Dec 23
0
Fwd: [ mocha-Bugs-16523 ] Ruby 1.9 gives warning
...yntax error, unexpected '':'', expecting keyword_then or '','' or '';'' or ''\n'' (SyntaxError) when 0: nil ^ /usr/local/lib/ruby/gems/1.9/gems/mocha-0.5.5/lib/mocha/return_values.rb:31: syntax error, unexpected keyword_end, expecting $end ---------------------------------------------------------------------- Comment By: James Mead (jamesmead) Date: 2007-12-22 23:13 Message: Thanks for reporting it. Can you tell us what version of Mocha you are using and what code causes this warning. I''ve removed all the...
2007 Nov 18
18
mongrel and fastthread on ruby 1.9?
Is anybody testing mongrel on ruby 1.9. I just tried installing mongrel on trunk 1.9 and trunk rubygems and got this error compiling fastthread: /Users/stephen/dev/ruby/1.9_trunk/bin/ruby extconf.rb install mongrel --no-rdoc creating Makefile make gcc -I. -I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/i686-darwin8.10.1 -I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9 -I.