diff --git a/README.md b/README.md
index b8bd509..448f1a2 100644
--- a/README.md
+++ b/README.md
@@ -10,5 +10,6 @@ To install Ruby on Rails development environment, copy and paste this line in th
 
     sudo apt-get install curl
     bash <(curl -sL  https://raw.github.com/railsgirls/installation-scripts/master/rails-install-ubuntu.sh)
+    source ~/.profile
 
 
diff --git a/rails-install-ubuntu.sh b/rails-install-ubuntu.sh
index 7a105f2..d6e3115 100644
--- a/rails-install-ubuntu.sh
+++ b/rails-install-ubuntu.sh
@@ -16,8 +16,8 @@ echo "Install packages. Enter your password when asked."
 sudo apt-get --ignore-missing install build-essential git-core curl openssl libssl-dev libcurl4-openssl-dev zlib1g zlib1g-dev libreadline6-dev libyaml-dev libsqlite3-dev libsqlite3-0 sqlite3 libxml2-dev libxslt1-dev libffi-dev software-properties-common libgdm-dev libncurses5-dev automake autoconf libtool bison postgresql postgresql-contrib libpq-dev libc6-dev -y
 
 echo "Install Node.js"
-sudo apt-get install -y snapd
-sudo snap install node --classic --channel=18
+curl -fsSL https://deb.nodesource.com/setup_23.x | sudo bash -
+sudo apt-get install -y nodejs
 
 echo "Install ImageMagick for image processing"
 sudo apt-get install imagemagick --fix-missing -y
@@ -45,7 +45,7 @@ echo "Load rbenv config in install script"
 eval "$($HOME/.rbenv/bin/rbenv init - bash)"
 
 echo "Install Ruby"
-RUBY_VERSION=3.1.3
+RUBY_VERSION=3.4.1
 rbenv install "$RUBY_VERSION"
 rbenv global "$RUBY_VERSION"
 
@@ -56,11 +56,11 @@ gem install bundler rails
 echo -e "\n- - - - - -\n"
 echo -e "Now we are going to print some information to check that everything is done:\n"
 
-echo -n "Should be SQLite 3.22.0 or higher: sqlite "
+echo -n "Should be SQLite 3.45.1 or higher: sqlite "
 sqlite3 --version
-echo -n "Should be Ruby 3.1.3 or higher:                "
+echo -n "Should be Ruby $RUBY_VERSION or higher:     "
 ruby -v | cut -d " " -f 2
-echo -n "Should be Rails 7.0 or higher:         "
+echo -n "Should be Rails 8.0 or higher:      "
 rails -v
 echo -e "\n- - - - - -\n"