Last active
August 29, 2015 14:13
-
-
Save yuyalush/cd441e9a5ff04c4ccd1d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
install: --no-doc | |
update: --no-doc |
This file contains hidden or 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
ActiveRecord::Base.connection.execute("CREATE CLUSTERED INDEX [idx_schema_migrations_version] ON [schema_migrations] ([version])") |
This file contains hidden or 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
sudo apt-get update | |
sudo apt-get -y upgrade | |
sudo apt-get -y install build-essential git curl zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev sqlite3 libsqlite3-dev freetds-dev | |
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz | |
tar xzf ruby-2.1.4.tar.gz | |
cd ruby-2.1.4 | |
./configure --disable-install-doc | |
make -j | |
sudo make install | |
wget https://gist.githubusercontent.com/yuyalush/cd441e9a5ff04c4ccd1d/raw/229ba403670db44c7f96f095b4ec44d5bbe80531/.gemrc | |
sudo gem install rails -v 4.1.9 | |
sudo gem install tiny_tds activerecord-sqlserver-adapter | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment