The command will output the address of the server, which you can open in your browser: Server address: Server running. Make sure all the packages are installed: npm install If the site has a package.json file, run an npm install from the root folder of the Jekyll site: You’ll need to install any dependencies to run an existing Jekyll site. Once the Gems are installed, you can check everything is ready by running a Jekyll version check: jekyll -v Run the site If you get an error on gem installation, go back and check your Ruby installer was the DevTools version. If you used the wrong Ruby installer, you might not have all the dev tools. Once you have Ruby installed, you can install the Ruby Gems for Jekyll gem install jekyll bundler webrick The installer should prompt you to run the following command at the end of the installation, but if not, run it manually and select option 3. A noticeable addition to Ruby on Windows is the support of UNIXSocket. See the ruby-3.2.0 release post for more details. The download for Windows is an EXE that installs Ruby. RubyInstaller-3.2.0-1 has been released It features a whole bunch of great new features and improvements. Note that Ruby needs to be installed with DevKit as this is required when you install Ruby Gems. To run Jekyll on Windows, you need to install the following: Open the project in your favorite editor and update the database.yml with the PostgreSQL username and password.If you want to run Jekyll on a Windows machine, there are just three steps you need to complete to get up and running: WARNING: psql major version 9.5, server major version 9.6. When the installation finish, return to bash and type the next command $psql -p 5432 -h localhost -U your_postgresql_usernameīash will ask you the PostgreSQL password and if everything works you will have access to the Postgres shell prompt psql (9.5.6, server 9.6.2) The installer will ask you for a user and a password, also keep them in a safe place because you will use it to access to PostgreSQL command line and in database.ymlin your ROR project. Install the Ruby’s package manager Bundler $ gem install bundlerĭownload PostgreSQL installer and follow the instructions of the installation If you need to install other version of ruby run this same command like thisĪnd select the ruby version you want to use $ \curl -sSL -o rvm.sh $ cat rvm.sh | bash -s stable Remember your UNIX password because every time you saw a sudo in the command you will be asked for your password. Then install gnup2 $ sudo apt-get install gnupg2 The username does not need to match your Windows username.Īnd your Bash is ready when you see the CMD its in the Please create a default UNIX user account. Also when you time your password you won’t see the keystrokes, it’s normal, only keep typing and press ENTER when you finish. 100%Įxtracting filesystem, this will take a few minutes….īash will ask you for a user, please remember this user because bash will ask you every time you need root permissions in Bash. Press "Y" to continue Downloading from the Windows Store. You will see the next message This will install Ubuntu on Windows, distributed by CanonicalĪnd licensed under its terms available here: Installing Bash On Windowsįirst enable developer mode on your machineĪfter the computer reboot open a Command Prompt (CMD) and type > bash Windows 10 comes with a new feature called Windows Subsystem for Linux (WSL) that allows you to use Bash with the most common Linux tools included the ones you need to install a Ruby Manager Version.įor this tutorial we'll set up Ubuntu on Windows, Ruby 2.4.0, Rails 5.0.1 and PostgreSQL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |