Skip to content

Instantly share code, notes, and snippets.

View Shebella's full-sized avatar
🇹🇼

Rubio Shebella

🇹🇼
View GitHub Profile
// Try downloading the signatures
command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
// Install RVM
curl -L get.rvm.io | bash -s stable
// Setup RVM Environment
source /home/huangchienchang01/.rvm/scripts/rvm
// Install Ruby
solo.sendKey(Solo.MENU); 
solo.sendKey(KeyEvent.KEYCODE_MENU);
solo.clickOnMenuItem("Review"); 
2012-01-01 02:58:00.000
2012-01-01 02:58:00.500
2012-01-01 02:59:00.000
2012-01-01 02:59:00.500
2012-01-01 03:00:00.0xx <-- leap second inserted
2012-01-01 02:59:00.0xx
2012-01-01 02:59:00.500
2012-01-01 03:00:00.000
2012-01-01 03:00:00.500
android {
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
rm -rf ~/Library/Application Support/AndroidStudio
rm -rf ~/Library/Caches/AndroidStudio
rm -rf ~/Library/Logs/AndroidStudio
rm -rf ~/Library/Preferences/AndroidStudio
Searching for binary rubies, this might take some time.
No binary rubies available for: centos/6/i386/ruby-2.0.0-p451.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for centos.
Requirements installation successful.
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.0.0-p451, this may take a while depending on your cpu(s)...
ruby-2.0.0-p451 - #downloading ruby-2.0.0-p451, this may take a while depending on your connection...
** Resuming transfer from byte position 24576
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
I had the same issue of therubyracer failing.
But first,
I had libv8 -v '3.16.14.3' failing for me on the first run.
I ran
# gem install libv8 -v '3.16.14.3' -- --with-system-v8
which worked.
Then therubyracer failed.
# To have launchd start postgresql at login:
ln -sfv /usr/local/opt/postgresql/*plist ~/Library/LaunchAgents
# Then to load postgresql now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist