Skip to content

Commit 910e511

Browse files
1 parent 766b541 commit 910e511

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

rails-install-ubuntu.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22

33
set -e
44

5-
if ! grep -q xenial /etc/lsb-release
6-
then
7-
echo "Adding PPA for up-to-date Node.js runtime. Give your password when asked."
8-
sudo add-apt-repository ppa:chris-lea/node.js
9-
else
10-
: # Xenial not (yet, as of April 2016) supported by that ppa,
11-
# use default distro node.js.
12-
fi
5+
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
136

147
echo "Updates packages. Asks for your password."
158
sudo apt-get update -y

0 commit comments

Comments
 (0)