xxxxxxxxxx
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.5 ruby2.5-dev build-essential dh-autoreconf
xxxxxxxxxx
//Install Ruby
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
//Add description to .bashrc
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
//Check the version of Ruby that can be installed
rbenv install -l
//Install Ruby
rbenv install 3.0.4
//gcc installation error
sudo apt install gcc
//Make installation error
sudo apt install make
//lack of "openssl", "readline" and "zlib" error
apt-get install -y libssl-dev libreadline-dev zlib1g-dev
//specify the version with rbenv
rbenv global 3.0.4
//check the version of Ruby
ruby -v
xxxxxxxxxx
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.5 ruby2.5-dev build-essential dh-autoreconf
xxxxxxxxxx
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.5 ruby2.5-dev build-essential dh-autoreconf
xxxxxxxxxx
DBCC CHECKIDENT (table_name [, { NORESEED | { RESEED [, new_reseed_value ]}}])
[ WITH NO_INFOMSGS ]
-- new_reseed_value should be the last existing value in the db
-- i.e. if your IDS went from 8,9,12,13
-- delete rows 12,13
-- issue command below with new_reseed_value as 9
DBCC CHECKIDENT ('[TestTable]', RESEED, 0);
GO
xxxxxxxxxx
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.5 ruby2.5-dev build-essential dh-autoreconf
xxxxxxxxxx
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.5 ruby2.5-dev build-essential dh-autoreconf