Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/carlosal1015/carlosal1015.github.io

Oromion's blog
https://github.com/carlosal1015/carlosal1015.github.io

Last synced: about 14 hours ago
JSON representation

Oromion's blog

Awesome Lists containing this project

README

        

# Blog [carlosal1015.github.io](https://carlosal1015.github.io)

## Instructions ⚙️

Please check if the installation of `rvm`, `ruby`, `bundle` and `gem`
are correct with next instructions below:

```console
$ rvm --version
rvm 1.29.10 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
$ ruby --version
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]
$ bundle --version
Bundler version 2.2.2
$ gem --version
3.2.2
```

Otherwise, please visit their website for more information about the
installation in your system.

### Useful links

- [Ruby language -- A Programmer's Best Friend](https://www.ruby-lang.org)
- [Bundler -- The best way to manage a Ruby application's gems](https://bundler.io)
- [RubyGems -- Find, install, and publish RubyGems.](https://rubygems.org)
- [Ruby Version Manager (RVM)](https://rvm.io)
- [RVM is not a function, selecting rubies with 'rvm use ...' will not work.](https://stackoverflow.com/a/27990042/9302545)
- [RVM ArchWiki](https://wiki.archlinux.org/index.php/RVM)

## Arch's RubyLang set up

```console
$ curl -L get.rvm.io > rvm-install
$ bash < ./rvm-install
$ source ~/.rvm/scripts/rvm
$ deepin-editor .zshrc
$ source .zshrc
$ gem install --user-install bundle
$ rvm get stable
```

## Build

```console
$ bundle config set path 'vendor/bundle' # Once time
Your application has set path to "vendor/bundle". This will override the global value you are currently setting
$ bundle update --bundler # Update bundler
...
Bundle updated!
$ bundle update # Update all gems, do not recommended.
$ gem cleanup # Remove old version of dependencies
$ gem update --system # Optional
```

## Reproduce

```console
$ cd src
$ bundle install
...
Bundle complete! 4 Gemfile dependencies, 94 gems now installed.
Bundled gems are installed into `./vendor/bundle`
$ bundle exec jekyll clean
$ bundle exec jekyll build
$ bundle exec jekyll serve
```

Go to the server address: [localhost:4000](http://127.0.0.1:4000) in the browser.