Make sure you use latest rvm:
rvm get stable
Then you can do two things:
- Update certificates:
rvm osx-ssl-certs update all - Update rubygems:
rvm rubygems latest
OR
gem sources -r https://rubygems.org
gem sources -a http://rubygems.org
References pool - Milestones - Notebook
rvm get stable
rvm osx-ssl-certs update all
rvm rubygems latest
gem sources -r https://rubygems.org
gem sources -a http://rubygems.org
# sudo mkdir /media/windows-share# sudo mount -t vboxsf folder-name /media/windows-share
| Serializer | Size | Peformance |
|---|---|---|
| Microsoft DataContractSerializer | 4.68x | 6.72x |
| Microsoft JsonDataContractSerializer | 2.24x | 10.18x |
| Microsoft BinaryFormatter | 5.62x | 9.06x |
| NewtonSoft.Json | 2.30x | 8.15x |
| ProtoBuf.net | 1x | 1x |
| ServiceStack TypeSerializer | 1.78x | 1.92x |
gem install mysql2 --platform=ruby -- '--with-mysql-dir="C:/Program Files/MySQL/MySQL Connector C 6.1 6.1.2/"'MySQL Connector C 6.1 6.1.2 directory. Therefore, passing only the --with-mysql-dir parameter without the --with-mysql-lib or --with-mysql-include parameters, makes the gem to look at the same directory for the lib and includedirectories
using System;
using System.Windows.Forms;
using Microsoft.VisualBasic.ApplicationServices; // Add reference to Microsoft.VisualBasic
namespace WindowsFormsApplication1 {
class Program : WindowsFormsApplicationBase {
public Program() {
this.EnableVisualStyles = true;
this.IsSingleInstance = true;
this.MainForm = new Form1();
}
protected override void OnStartupNextInstance(StartupNextInstanceEventArgs e) {
e.BringToForeground = true;
}
[STAThread]
public static void Main(string[] args) {
new Program().Run(args);
}
}
}