I can’t install it locally ![]()
When I run « bundle install » 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?
I can’t install it locally ![]()
When I run « bundle install » 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?
If you are on Windows, you can use it under WSL, it works like a charm:
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.
What OS are you on @Exilon62?
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..
Have you installed ruby-dev?
Yes, it’s well installed
@Exilon62 I created a new discussion to avoid polluting the other topic
I think you had posted it on Slack, but could you put the error here again?
Try this:
BUNDLE_GEMFILE="./GemFile" bundle install
Edit, I just tested it successfully on 18.04:
$> 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.
Great, it works! Thank you!
And to launch, I do:
BUNDLE_GEMFILE="./GemFile" bundle exec jekyll serve
Normally just jekyll serve is enough