Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knowtheory/24693 to your computer and use it in GitHub Desktop.
Save knowtheory/24693 to your computer and use it in GitHub Desktop.
>> "<%= '#{"this string doesnt have fail, but 'is still bad' when interpreted"}'%>"
=> "<%= 'this string doesnt have fail, but 'is still bad' when interpreted'%>"
>> "#{"this \"is a\" string with fail!"}"
# no terminus
"
SyntaxError: compile error
(irb):26: unterminated string meets end of file
from (irb):26
>> "#{"this is a string without fail!"}"
=> "this is a string without fail!"
>> "#{"this is 'a string' without fail!"}"
=> "this is 'a string' without fail!"
>> "#{"this is \'a string\' with fail!"}"
# no terminus still!
'
SyntaxError: compile error
(irb):12: unterminated string meets end of file
from (irb):12
>>
>> require 'highline/import'
=> true
>> say "<%= color('- #{"this is a bloody string"}',:red)%>"
- this is a bloody string
=> nil
>> say "<%= color('- #{"this is 'a bloody' string"}',:red)%>"
(erb):1: warning: parenthesize argument(s) for future version
SyntaxError: compile error
(erb):1: syntax error, unexpected tIDENTIFIER, expecting ')'
_erbout = ''; _erbout.concat(( color('- this is 'a bloody' string',:red)).to_s); _erbout
^
(erb):1: syntax error, unexpected ')', expecting $end
_erbout = ''; _erbout.concat(( color('- this is 'a bloody' string',:red)).to_s); _erbout
^
from (erb):1:in `say'
from /Library/Ruby/Gems/1.8/gems/highline-1.4.0/lib/highline.rb:442:in `say'
from (irb):28
from :0
>> say "<%= color('- #{"this is \'a bloody\' string"}',:red)%>"
"
SyntaxError: compile error
(irb):30: unterminated string meets end of file
from (irb):30
from :0
>>
# dependencies are generated using a strict version, don't forget to edit the dependency versions when upgrading.
merb_gems_version = "<%= merb_gems_version %>"
dm_gems_version = "<%= dm_gems_version %>"
# For more information about each component, please read http://wiki.merbivore.com/faqs/merb_components
dependency "merb-action-args", merb_gems_version
dependency "merb-assets", merb_gems_version
dependency "merb-cache", merb_gems_version
dependency "merb-helpers", merb_gems_version
dependency "merb-mailer", merb_gems_version
dependency "merb-slices", merb_gems_version
dependency "merb-auth-core", merb_gems_version
dependency "merb-auth-more", merb_gems_version
dependency "merb-auth-slice-password", merb_gems_version
dependency "merb-param-protection", merb_gems_version
dependency "merb-exceptions", merb_gems_version
dependency "dm-core", dm_gems_version
dependency "dm-aggregates", dm_gems_version
dependency "dm-migrations", dm_gems_version
dependency "dm-timestamps", dm_gems_version
dependency "dm-types", dm_gems_version
dependency "dm-validations", dm_gems_version
dependency "merb-action-args", "0.9.10" # Provides support for querystring arguments to be passed in to controller actions
dependency "merb-assets", "0.9.10" # Provides link_to, asset_path, auto_link, image_tag methods (and lots more)
dependency "merb-cache", "0.9.10" # Provides your application with caching functions
dependency "merb-helpers", "0.9.10" # Provides the form, date/time, and other helpers
dependency "merb-mailer", "0.9.10" # Integrates mail support via Merb Mailer
dependency "merb-slices", "0.9.10" # Provides a mechanism for letting plugins provide controllers, views, etc. to your app
dependency "merb-auth", "0.9.10" # An authentication slice (Merb's equivalent to Rails' restful authentication)
dependency "merb-param-protection", "0.9.10"
dependency "dm-core", "0.9.6" # The datamapper ORM
dependency "dm-aggregates", "0.9.6" # Provides your DM models with count, sum, avg, min, max, etc.
dependency "dm-migrations", "0.9.6" # Make incremental changes to your database.
dependency "dm-timestamps", "0.9.6" # Automatically populate created_at, created_on, etc. when those properties are present.
dependency "dm-types", "0.9.6" # Provides additional types, including csv, json, yaml.
dependency "dm-validations", "0.9.6" # Validation framework
dependency "dm-sweatshop", "0.9.6" # Fixture framework
[CONFLICT] config/dependencies.rb
1. skip
2. overwrite
3. render
4. diff
5. abort
How do you wish to proceed with this file?
4
Showing differences for config/dependencies.rb
- dependency "merb-action-args", "0.9.10" # Provides support for querystring arguments to be passed in to controller actions
- dependency "merb-assets", "0.9.10" # Provides link_to, asset_path, auto_link, image_tag methods (and lots more)
- dependency "merb-cache", "0.9.10" # Provides your application with caching functions
- dependency "merb-helpers", "0.9.10" # Provides the form, date/time, and other helpers
- dependency "merb-mailer", "0.9.10" # Integrates mail support via Merb Mailer
- dependency "merb-slices", "0.9.10" # Provides a mechanism for letting plugins provide controllers, views, etc. to your app
(erb):1: warning: parenthesize argument(s) for future version
(erb):1: warning: parenthesize argument(s) for future version
(erb):1: warning: parenthesize argument(s) for future version
(erb):1:in `say': compile error (SyntaxError)
(erb):1: syntax error, unexpected tIDENTIFIER, expecting ')'
_erbout = ''; _erbout.concat(( color('- dependency "merb-auth", "0.9.10" # An authentication slice (Merb's equivalent to Rails' restful authentication)', :red) ).to_s); _erbout
^
(erb):1: syntax error, unexpected ')', expecting $end
_erbout = ''; _erbout.concat(( color('- dependency "merb-auth", "0.9.10" # An authentication slice (Merb's equivalent to Rails' restful authentication)', :red) ).to_s); _erbout
^ from /Library/Ruby/Gems/1.8/gems/highline-1.4.0/lib/highline.rb:442:in `say'
from /Library/Ruby/Gems/1.8/gems/templater-0.3.3/lib/templater/cli/generator.rb:166:in `output_diff_line'
from /Library/Ruby/Gems/1.8/gems/templater-0.3.3/lib/templater/cli/generator.rb:140:in `conflict_menu'
from /Library/Ruby/Gems/1.8/gems/templater-0.3.3/lib/templater/cli/generator.rb:139:in `each'
from /Library/Ruby/Gems/1.8/gems/templater-0.3.3/lib/templater/cli/generator.rb:139:in `conflict_menu'
from /Library/Ruby/Gems/1.8/gems/highline-1.4.0/lib/highline/menu.rb:314:in `call'
from /Library/Ruby/Gems/1.8/gems/highline-1.4.0/lib/highline/menu.rb:314:in `select'
from /Library/Ruby/Gems/1.8/gems/highline-1.4.0/lib/highline.rb:309:in `choose'
... 6 levels...
from /Library/Ruby/Gems/1.8/gems/templater-0.3.3/lib/templater/manifold.rb:80:in `run_cli'
from /Library/Ruby/Gems/1.8/gems/merb-gen-1.0/bin/merb-gen:6
from /usr/bin/merb-gen:19:in `load'
from /usr/bin/merb-gen:19
umbra:www.portionator.dev ted$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment