Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requires Ruby and Sass?? #202

Open
kanethal opened this issue Feb 20, 2016 · 8 comments
Open

Requires Ruby and Sass?? #202

kanethal opened this issue Feb 20, 2016 · 8 comments

Comments

@kanethal
Copy link

Received the following error after running the generator (tried version 4.2 and master)

Running "env:dev" (env) task

Running "sass:dist" (sass) task
Warning:
You need to have Ruby and Sass installed and in your PATH for this task to work.
More info: https://github.com/gruntjs/grunt-contrib-sass
 Use --force to continue.

Ruby and Sass are not listed as requirements in the docs at http://meanjs.org/docs/0.4.x/
Are these requirements then? Or maybe I've done something horribly wrong... :(

@ilanbiala
Copy link
Member

Yes they are requirements. Can you make a PR so others are aware?

@kanethal
Copy link
Author

I would love to. But I'm a freaking newb and wouldn't know what to do...
I'll try to educate myself on that later if I get some time
On Feb 20, 2016 8:06 PM, "Ilan Biala" [email protected] wrote:

Yes they are requirements. Can you make a PR so others are aware?


Reply to this email directly or view it on GitHub
#202 (comment)
.

@rof20004
Copy link

Try this:

$ sudo apt-get install ruby (if you have no one yet)
$ sudo apt-get install ruby-compass
$ sudo npm install grunt-compass --save-dev

@kanethal
Copy link
Author

Thanks but I'm working in powershell
On Feb 22, 2016 9:56 AM, "rof20004" [email protected] wrote:

Try this:

$ sudo apt-get install ruby (if you have no one yet)
$ sudo apt-get install ruby-compass
$ sudo npm install grunt-compass --save-dev


Reply to this email directly or view it on GitHub
#202 (comment)
.

@rof20004
Copy link

Ok, then install ruby and execute?

gem install compass

@kanethal
Copy link
Author

Right, I had Ruby once upon a time before I became interested in node.
Trying to decide if I want to go with this solution
On Feb 22, 2016 10:04 AM, "rof20004" [email protected] wrote:

Ok, then install ruby and execute?

gem install compass


Reply to this email directly or view it on GitHub
#202 (comment)
.

@stephengtuggy
Copy link

@rof20004 your instructions worked for me. Thanks.

I have Windows 10 (x64) as my main OS. I installed Ruby 2.2.4 x64 from http://rubyinstaller.org/downloads/. I used Git Bash as my command line environment (installed with GitHub Desktop for Windows). I opened Git Bash and ran "gem install compass". I was then able to run grunt with no issues, and view the boilerplate app in Firefox at localhost:3000 .

Note that I had some issues with yo in Git Bash. When I tried to use the arrow keys to choose which version of meanjs to generate, the visual indicator didn't move. I had to just press the down arrow twice and then press Enter, and trust that it chose meanjs version 0.4.2 correctly. (It did, from what I can tell.) Note also that before I did THAT, I had to install Node.js version 4.4.0, x64, from nodejs.org, and then run npm install -g npm to update to the latest version of npm. Otherwise I ran into all sorts of issues and warning messages.

I'm also trying the same thing in an Ubuntu 15.10 x64 VM under VirtualBox 5.0.16. I used your sudo apt-get, etc. commands to get going. It seems to be working, for the most part; I just need to install MongoDB still.

@stephengtuggy
Copy link

It turns out that the latest version of MongoDB, from mongodb.org, is not fully supported on Ubuntu 15.10, only on LTS versions of Ubuntu (such as 14.04). So I ended up setting up an Ubuntu 14.04 LTS x64 VM to run my MEAN application. Got it working!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants