This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array values in the parameter to `Gem.paths=` are deprecated. | |
Please use a String or nil. | |
An Array (...) was passed in from bin/rails:3:in `load' | |
Solution | |
======== | |
https://github.com/rubygems/rubygems/issues/1551 | |
If you came to this issue by googling the error specified in the description of this issue, you should know that it has already been fixed in spring-1.6.4 and all you need to do is to update to latest spring and regenerate binstubs, like this: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(flycheck-def-config-file-var flycheck-haml-lintrc haml-lint ".haml-lint.yml" | |
:safe #'stringp) | |
(flycheck-define-checker haml-lint | |
"A haml-lint syntax checker" | |
:command ("haml-lint" | |
(config-file "--config" flycheck-haml-lintrc) | |
source) | |
:error-patterns | |
((warning line-start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Wysihtml5Helper | |
def fill_in_html name, options | |
options.to_options!.assert_valid_keys :with | |
if Capybara.current_driver == Capybara.javascript_driver | |
# Dip inside capybara session to respect current `within` scope | |
scope = page.send(:current_node).path | |
# Find the textarea based on label name within the given scope | |
query = "$('label:contains(#{name.inspect}) ~ textarea:eq(0)', document.evaluate(#{scope.inspect}, document).iterateNext())" | |
# Make sure the editor is instantiated -- this is us, not wysihtml5 | |
wait_until { page.evaluate_script("!!#{query}.data('editor')") } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this does not run as a complete script :( | |
pkg_add -r bash curl sudo | |
pkg_add -r git vim # can you live without it? | |
pkg_add -r libxml2 libxslt # for nokogiri later | |
pw usermod pzol -G wheel | |
bash # start bash and run the rest inside it | |
curl -# -L http://bit.ly/rvm-install-system-wide > rvm-install-system-wide | |
bash -l < rvm-install-system-wide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ja: | |
errors: | |
messages: | |
not_found: "は見つかりませんでした" | |
# not_found: "not found" | |
already_confirmed: "は既に登録済みです" | |
# already_confirmed: "was already confirmed" | |
not_locked: "は凍結されていません" | |
# not_locked: "was not locked" |