# Installation / Usage jekyll Ubuntu 18.04

**URL:** <https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938>\
**Category:** Présentations\
**Tags:** documentation\
**Created:** [December 3, 2018, 10:22am UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938 "2018-12-03T10:22:15Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Exilon62](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/exilon62/32/6003_2.png) [@Exilon62](https://community.gladysassistant.com/u/Exilon62)\
**Post date:** [December 3, 2018, 10:22am UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/1 "2018-12-03T10:22:15Z")

</div>

I can’t install it locally 😕  
When I run «&nbsp;bundle install&nbsp;» it says it can’t find my GemFile even though it exists.  
I’ve tried with several versions of Ruby.

Do I need a specific version?

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [December 3, 2018, 12:32pm UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/2 "2018-12-03T12:32:43Z")

</div>

> **[Requirements - Installation](https://jekyllrb.com/docs/installation/#requirements)**
>
> Jekyll is a Ruby Gem that can be installed on most systems. | Official guide to install Jekyll on macOS, GNU/Linux or Windows.

If you are on Windows, you can use it under WSL, it works like a charm:

> **[Jekyll on Windows](https://jekyllrb.com/docs/installation/windows/)**
>
> While Windows is not an officially-supported platform, it can be used to run Jekyll with the proper tweaks.

---

<div class="post-metadata">

**Author:** ![Exilon62](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/exilon62/32/6003_2.png) [@Exilon62](https://community.gladysassistant.com/u/Exilon62)\
**Post date:** [December 3, 2018, 12:44pm UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/3 "2018-12-03T12:44:58Z")

</div>

I followed the tutorial well, I can launch Jekyll with a new project and the default theme. But it doesn’t recognize the GemFile for this project actually.

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [December 3, 2018, 1:07pm UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/4 "2018-12-03T13:07:52Z")

</div>

What OS are you on @Exilon62?

---

<div class="post-metadata">

**Author:** ![Exilon62](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/exilon62/32/6003_2.png) [@Exilon62](https://community.gladysassistant.com/u/Exilon62)\
**Post date:** [December 3, 2018, 1:17pm UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/5 "2018-12-03T13:17:26Z")

</div>

I’m on Ubuntu 18.04  
The file permissions are correct, when I do an ls the file is there but it’s not recognized by Ruby..

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [December 3, 2018, 1:20pm UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/6 "2018-12-03T13:20:00Z")

</div>

Have you installed ruby-dev?

---

<div class="post-metadata">

**Author:** ![Exilon62](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/exilon62/32/6003_2.png) [@Exilon62](https://community.gladysassistant.com/u/Exilon62)\
**Post date:** [December 3, 2018, 1:29pm UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/7 "2018-12-03T13:29:14Z")

</div>

Yes, it’s well installed

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [December 3, 2018, 1:37pm UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/8 "2018-12-03T13:37:33Z")

</div>

@Exilon62 I created a new discussion to avoid polluting the other topic

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [December 3, 2018, 1:48pm UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/9 "2018-12-03T13:48:13Z")

</div>

I think you had posted it on Slack, but could you put the error here again?

---

<div class="post-metadata">

**Author:** ![Exilon62](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/exilon62/32/6003_2.png) [@Exilon62](https://community.gladysassistant.com/u/Exilon62)\
**Post date:** [December 3, 2018, 2:07pm UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/10 "2018-12-03T14:07:58Z")

</div>

Indeed, here is the screen:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/a/a6721ee8bb53597e7cb4216d2cc63a3b8fd88ea7.png)

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [December 3, 2018, 2:31pm UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/11 "2018-12-03T14:31:57Z")

</div>

Try this:

`BUNDLE_GEMFILE="./GemFile" bundle install`

Edit, I just tested it successfully on 18.04:

```auto
$> sudo gem install jekyll bundler
Fetching: jekyll-3.8.5.gem (100%)
Successfully installed jekyll-3.8.5
Parsing documentation for jekyll-3.8.5
Installing ri documentation for jekyll-3.8.5
Done installing documentation for jekyll after 1 seconds
Successfully installed bundler-1.17.1
Parsing documentation for bundler-1.17.1
Done installing documentation for bundler after 3 seconds
2 gems installed

$> bundle exec jekyll serve
Could not locate Gemfile or .bundle/ directory

$> jekyll serve
Configuration file: /home/wkvkk/documentation.gladysproject.com.jekyll/_config.yml
            Source: /home/wkvkk/documentation.gladysproject.com.jekyll
       Destination: /home/wkvkk/documentation.gladysproject.com.jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
                    done in 0.689 seconds.
 Auto-regeneration: enabled for '/home/wkvkk/documentation.gladysproject.com.jekyll'
    Server address: http://127.0.0.1:4000
  Server running... press ctrl-c to stop.
[2018-12-03 15:35:50] ERROR `/favicon.ico' not found.
[2018-12-03 15:35:50] ERROR `/assets/image/gladys-logo.png' not found.

```

---

<div class="post-metadata">

**Author:** ![Exilon62](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/exilon62/32/6003_2.png) [@Exilon62](https://community.gladysassistant.com/u/Exilon62)\
**Post date:** [December 3, 2018, 2:47pm UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/12 "2018-12-03T14:47:54Z")

</div>

Great, it works! Thank you!

And to launch, I do:  
`BUNDLE_GEMFILE="./GemFile" bundle exec jekyll serve`

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [December 3, 2018, 3:23pm UTC](https://community.gladysassistant.com/t/installation-usage-jekyll-ubuntu-18-04/3938/13 "2018-12-03T15:23:01Z")

</div>

Normally just `jekyll serve` is enough
