Skip to content

Instantly share code, notes, and snippets.

@mickobrien99
mickobrien99 / gist:18ca21676ee9cb1f4da5
Created October 7, 2014 11:43
pushpligin for ios8
/*
Copyright 2009-2011 Urban Airship Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binaryform must reproduce the above copyright notice,
@mickobrien99
mickobrien99 / gist:bdbf98ab590c13aa86c2
Last active August 29, 2015 14:06
Fixing cca and cordova
In cordova folder, run
cca create newproj
That will create a new folder with all the cordova stuff
Copy the config.xml and www into that new folder replacing the items in it ... then drag that folders contents back to the cordova folder and delete it
Then in cordova folder run
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
exec $SHELL -l
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.0.0-p0
git clone https://github.com/sstephenson/rbenv-gem-rehash.git ~/.rbenv/plugins/rbenv-gem-rehash
rbenv rehash
rbenv global 2.0.0-p0
gem install rails --no-ri --no-rdoc