Skip to content

Instantly share code, notes, and snippets.

View BanzaiMan's full-sized avatar

Hiro Asari BanzaiMan

View GitHub Profile
@BanzaiMan
BanzaiMan / gist:8875001
Created February 8, 2014 00:56
RVM fails to install jruby-d19
$ bash -x ~/.rvm/bin/rvm use jruby-d19 --install --binary --fuzzy
+ /bin/rvm : 3 > (( 0 == 0 ))
+ /bin/rvm : 5 > declare rvmrc
+ /bin/rvm : 7 > rvm_rvmrc_files=("/etc/rvmrc" "$HOME/.rvmrc")
+ /bin/rvm : 8 > [[ -n /Users/asari ]]
+ /bin/rvm : 8 > [[ /Users/asari/.rvmrc -ef /Users/asari/.rvmrc ]]
+ /bin/rvm : 12 > for rvmrc in '"${rvm_rvmrc_files[@]}"'
+ /bin/rvm : 14 > [[ -f /etc/rvmrc ]]
+ /bin/rvm : 12 > for rvmrc in '"${rvm_rvmrc_files[@]}"'
+ /bin/rvm : 14 > [[ -f /Users/asari/.rvmrc ]]
PS C:\Users\Hiro Asari\Documents\GitHub\travis-build> bundle install
bundle : DL is deprecated, please use Fiddle
At line:1 char:1
+ bundle install
+ ~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (DL is deprecated, please use Fiddle:String) [], Remo
teException
+ FullyQualifiedErrorId : NativeCommandError
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
language: objective-c
xcode_project: SBJson.xcodeproj
matrix:
include:
- xcode_sdk: iphonesimulator
xcode_scheme: sbjson-ios
- xcode_sdk: macosx
xcode_scheme: SBJson
@BanzaiMan
BanzaiMan / gist:11152199
Created April 21, 2014 18:43
RubyInstaller sets wrong File::SEPARATOR
C:\Users\asari>ruby -v -rrbconfig -e 'puts RbConfig::CONFIG["host_os"]; puts File::SEPARATOR'
ruby 2.0.0p451 (2014-02-24) [i386-mingw32]
mingw32
/
@BanzaiMan
BanzaiMan / README.md
Last active August 29, 2015 14:00
XCode code signing issue with OS X Mavericks images

Issue

Users report issues with code signing their Objective-C based project with the newly-rolled out Mavericks image on Travis CI.

The error looks something like:

Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings ("Chappy Dev Adhoc") were found. CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'

Workaround

A couple of users have reported that setting the keychain in use to be the default will fix this issue. For example:

before_deploy:
- mkdir deploy_staging
- cp */target/**/*.jar deploy_staging
deploy:
skip_cleanup: true
provider: s3
bucket: build-bucket
region: us-west-2
local-dir: deploy_staging
@BanzaiMan
BanzaiMan / gist:6a200a96de4b7770f4e6
Created May 1, 2014 14:34
bcrypt fails to install on node 0.11.11
travis@debug-gh-travis-ci-2243-node-js-1398954713:~$ nvm use 0.11.11
Now using node v0.11.11
travis@debug-gh-travis-ci-2243-node-js-1398954713:~$ npm install bcrypt
npm http GET https://registry.npmjs.org/bcrypt
npm http 200 https://registry.npmjs.org/bcrypt
npm http GET https://registry.npmjs.org/bcrypt/-/bcrypt-0.7.8.tgz
npm http 200 https://registry.npmjs.org/bcrypt/-/bcrypt-0.7.8.tgz
npm http GET https://registry.npmjs.org/bindings/1.0.0
npm http 200 https://registry.npmjs.org/bindings/1.0.0
npm http GET https://registry.npmjs.org/bindings/-/bindings-1.0.0.tgz
@BanzaiMan
BanzaiMan / gist:86e677988dfb699cc49f
Created May 2, 2014 21:45
travis-ci/travis-build/67 comments
[
{
"url": "https://api.github.com/repos/travis-ci/travis-build/issues/comments/12843020",
"html_url": "https://github.com/travis-ci/travis-build/issues/67#issuecomment-12843020",
"issue_url": "https://api.github.com/repos/travis-ci/travis-build/issues/67",
"id": 12843020,
"user": {
"login": "henrikhodne",
"id": 24421,
"avatar_url": "https://avatars.githubusercontent.com/u/24421?",
@BanzaiMan
BanzaiMan / gist:22816414e737325298ee
Last active August 29, 2015 14:00
Worker log when the build payload includes Unicode character
May 03 11:08:15 worker-linux-11 travis-worker: 2014-05-03T15:08:11.258000+00:00 4517 INFO TID=4tm06 [linux-4:worker:instance] starting job slug:BanzaiMan/travis_production_test id:24338180
May 03 11:08:15 worker-linux-11 travis-worker: 2014-05-03T15:08:11.563000+00:00 4517 INFO TID=4tm06 [linux-4:worker:virtual_machine:blue_box] Using template 'travis-ruby-2014-04-08-11-29' (a58d1c11-aca6-4431-8c71-c9be17b17e3e) for language ruby
May 03 11:08:25 worker-linux-11 travis-worker: 2014-05-03T15:08:15.850000+00:00 4517 INFO TID=4tm06 [linux-4:worker:virtual_machine:blue_box] Booting testing-worker-linux-11-1-4517-linux-4-24338180.c45665.blueboxgrid.com (2607:f700:8001:135:2be7:9de5:3f26:15ff)
May 03 11:08:25 worker-linux-11 travis-worker: 2014-05-03T15:08:15.851000+00:00 4517 INFO TID=4tm06 [linux-4:worker:virtual_machine:blue_box] Provisioning a BlueBox VM
May 03 11:08:45 worker-linux-11 travis-worker: 2014-05-03T15:08:40.972000+00:00 4517 INFO TID=4tm06 [linux-4:worker:virtual_machine:blue_box] BlueBox VM pr
Using worker: worker-linux-1-2.bb.travis-ci.com:travis-linux-6
Applying updates
Installing an SSH key
git.1
$ git clone --depth=50 --branch=master git@github.com:travis-pro/test-project.git travis-pro/test-project
Cloning into 'travis-pro/test-project'...
Warning: Permanently added 'github.com,192.30.252.131' (RSA) to the list of known hosts.
remote: Counting objects: 391, done.
remote: Compressing objects: 100% (259/259), done.
remote: Total 391 (delta 135), reused 375 (delta 120)