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

Error: can't find gem smashing #80

Closed
hdalali opened this issue Aug 9, 2017 · 3 comments
Closed

Error: can't find gem smashing #80

hdalali opened this issue Aug 9, 2017 · 3 comments
Labels

Comments

@hdalali
Copy link

hdalali commented Aug 9, 2017

I get following error message: when I execute $ smashing new my-project

/Users/xyz/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems.rb:271:in `find_spec_for_exe': can't find gem smashing (>= 0.a) (Gem::GemNotFoundException)
	from /Users/xyz/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems.rb:299:in `activate_bin_path'
	from /Users/xyz/.rvm/gems/ruby-2.4.1/bin/smashing:23:in `<main>'
	from /Users/xyz/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
	from /Users/xyz/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'

Any idea how to fix it? Thanks for the help in advance.

@kinow
Copy link
Member

kinow commented Aug 9, 2017

Did you install Smashing? Installing the Smashing gem, will add the smashing executable to your path.

See https://github.com/Smashing/smashing/wiki/How-to%3A-Install-Smashing-on-Ubuntu-or-Debian for installation instructions for Debian and Ubuntu. If you are using RHEL based distro, this issue may be helpful #6

Closing as not an issue 👍

@kinow kinow closed this as completed Aug 9, 2017
@kinow kinow added the invalid label Aug 9, 2017
@hdalali
Copy link
Author

hdalali commented Aug 10, 2017

Thanks @kinow . Your instructions helped me to fix the issue. I am a budding engineer and I realized that I did not pay attention to the detail. Will pay more attention to detail and will do more ground work before posting a question going forward. Appreciate your support for young engineers like me.

@kinow
Copy link
Member

kinow commented Aug 10, 2017

Not a problem @hdalali . First time I used Dashing, I am quite sure I did exactly the same thing. And even now sometimes I jump to a server, fire smashing new and it takes a few moments for me to realize what happened when the command is not found :-)

Glad to help, hope to see your around again with questions/issues/pull requests. Should you have questions, you may find our gitter channel a bit more helpful, as it may be faster to get an answer there.

Cheers
Bruno

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

No branches or pull requests

2 participants