ixkaito / frasco

Quick starter for Jekyll including full setup for Sass, PostCSS, Autoprefixer, stylelint, TypeScript, Webpack, ESLint, imagemin, Browsersync, etc.
https://ixkaito.github.io/frasco/
MIT License
131 stars 20 forks source link

bundle: not found #47

Closed brennanbrown closed 3 years ago

brennanbrown commented 3 years ago

When trying to install this, I get the following error:

Ubuntu 20.04.2 LTS

> frasco@1.1.0 preinstall
> bundle install

sh: 1: bundle: not found
npm ERR! code 127
npm ERR! path /mnt/c/dev/frasco
npm ERR! command failed
npm ERR! command sh -c bundle install

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/brennan/.npm/_logs/2021-04-15T07_09_22_432Z-debug.log

Windows 10

> frasco@1.1.0 preinstall C:\dev\frasco
> bundle install

'bundle' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! frasco@1.1.0 preinstall: `bundle install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the frasco@1.1.0 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Brennan\AppData\Roaming\npm-cache\_logs\2021-04-15T07_11_44_350Z-debug.log
ixkaito commented 3 years ago

Hi @brennanbrown, Ruby and Bundler are required. Please install Ruby and gem install bundler first.

brennanbrown commented 3 years ago

Hello, thanks for replying. After further testing, it seems like the error is caused by npm not being able to interact properly with bundler on Windows, as I did not have this error on MacOS or native Linux. I'm pretty sure this goes beyond the scope of this project.