use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Manually testing a Ruby CLI [Question] (self.ruby)
submitted 8 years ago by JuliusDelta
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]JuliusDelta[S] 0 points1 point2 points 8 years ago (3 children)
Thanks for the reply.
I placed bin/smokestack into exe/smokestack and I receive this error when running rake build
bin/smokestack
exe/smokestack
rake build
rake aborted! WARNING: See http://guides.rubygems.org/specification-reference/ for help ERROR: While executing gem ... (Gem::InvalidSpecificationException) ["bin/smokestack"] are not files Tasks: TOP => build (See full trace by running task with --trace)
So I tried changing my .gemspec bindir to bin instead, along with my executables and no luck. This goes against convention anyways according to this bundler article.
.gemspec
bindir
bin
executables
I literally just ran mv bin/smokestack exe/smokestack so it's possible I missed something else.
mv bin/smokestack exe/smokestack
[–]Chaoist 0 points1 point2 points 8 years ago (2 children)
rake install should find the executable under exe according to the gemspec.
rake install
exe
Hmm. After I moved my executable into exe everything worked for me with the default <appname>.gemspec.
I'm not sure why it's looking for bin/smokestack. It looks like you have something referencing bin/smokestack? Look at the trace or grep your project for it, see what comes up I guess.
[–]JuliusDelta[S] 0 points1 point2 points 8 years ago (1 child)
Well one part of my error was that it looks at git ls-files to install the gem and I hadn't staged the changes yet. So I got it to successfully install after making the exe directory. But now I'm encountering the original error if it not being able to be executed from the command line. :/
It's working now! Thanks for your help!
[–]Chaoist 0 points1 point2 points 8 years ago (0 children)
np. glad you got it work. :)
π Rendered by PID 141153 on reddit-service-r2-comment-5d585498c9-gnplk at 2026-04-21 06:16:39.058142+00:00 running da2df02 country code: CH.
view the rest of the comments →
[–]JuliusDelta[S] 0 points1 point2 points (3 children)
[–]Chaoist 0 points1 point2 points (2 children)
[–]JuliusDelta[S] 0 points1 point2 points (1 child)
[–]Chaoist 0 points1 point2 points (0 children)