Skip to content

Instantly share code, notes, and snippets.

@yuyalush
Last active August 29, 2015 14:13
Show Gist options
  • Save yuyalush/cd441e9a5ff04c4ccd1d to your computer and use it in GitHub Desktop.
Save yuyalush/cd441e9a5ff04c4ccd1d to your computer and use it in GitHub Desktop.
install: --no-doc
update: --no-doc
ActiveRecord::Base.connection.execute("CREATE CLUSTERED INDEX [idx_schema_migrations_version] ON [schema_migrations] ([version])")
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