Skip to content

Instantly share code, notes, and snippets.

View cedricdekimpe's full-sized avatar

Cédric Dekimpe cedricdekimpe

View GitHub Profile
@cedricdekimpe
cedricdekimpe / gist:8cb64709e60fe2189714
Created August 21, 2015 08:31
assets precompile error
RAILS_ENV=staging bundle exec rake 'assets:precompile'
WARNING: Use strings for Figaro configuration. 647730745310662 was converted to "647730745310662".
WARNING: Use strings for Figaro configuration. 22225 was converted to "22225".
/Users/cedric/.rvm/rubies/ruby-2.0.0-p451/bin/ruby /Users/cedric/.rvm/gems/ruby-2.0.0-p451@apptweak/bin/rake assets:precompile:all RAILS_ENV=staging RAILS_GROUPS=assets
WARNING: Use strings for Figaro configuration. 647730745310662 was converted to "647730745310662".
WARNING: Use strings for Figaro configuration. 22225 was converted to "22225".
AssetSync: using /Users/cedric/Code/apptweak/config/initializers/asset_sync.rb
AssetSync: Syncing.
rake aborted!
Excon::Errors::SocketError: XML declaration allowed only at the start of the document (Nokogiri::XML::SyntaxError)
@cedricdekimpe
cedricdekimpe / provlux.svg
Created September 20, 2015 17:48
provlux.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cedricdekimpe
cedricdekimpe / gallery_images_controller.rb
Created August 20, 2011 12:27 — forked from splendeo/gallery_images_controller.rb
libpaperclip_processorsrotator.rb:6 : rotate_command to array to avoid "Can't convert String into Array" error
<ul class="main-navigation">
<li><a href="{{ root_url }}/">Blog</a></li>
<li><a href="{{ root_url }}/blog/archives">Archives</a></li>
</ul>
<ul class="main-navigation">
<li><a href="{{ root_url }}/">Accueil</a></li>
<li><a href="{{ root_url }}/blog">Blog</a></li>
<li><a href="{{ root_url }}/blog/archives">Archives</a></li>
</ul>
---
layout: page
title: "index"
date: 2015-10-04 23:30
comments: true
sharing: true
footer: true
---
fr:
date:
abbr_day_names:
- dim
- lun
- mar
- mer
- jeu
- ven
- sam
source 'http://rubygems.org'
gem 'rails', '3.2.1'
gem 'ruby-units'
gem "mysql2", "~> 0.3.2"
gem 'devise', '2.0.4'
gem 'cancan'
gem 'fastercsv' # used by rails_admin
gem "rack"
gem "gravatar_image_tag", "1.0.0"
gem 'omniauth', "~> 1.0"
number:
format:
separator: ","
delimiter: " "
precision: 3
significant: false
strip_insignificant_zeros: false
currency:
format:
format: "%n %u"
{% codeblock lang:ruby %}
firstname = "John"
lastname = "Doe"
echo "#{firstname} #{lastname}"
{% endcodeblock %}