Comments (5)
I would presonally expect a noop (and a message) instead of an error if there is nothing to do.
from gem-compiler.
Hello @bimargulies and welcome!
gem-compiler will try to compile the gem, when supplied with a gem that has no extensions, it fail with the above error (it will also fail if the supplied gem is one already compiled.
Do you suggest that instead a noop (no operation) note be displayed instead of an error?
Cheers.
from gem-compiler.
from gem-compiler.
Hello, apologies for the delay getting back to you.
Not sure that I follow your suggestion.
From what I understood from your original report was that compiling (in a loop) triggers and error when there is nothing to compile, which I assume is a problem.
But your current suggestion still suggest return an error.
I'm not precisely sure that we can control the exit code of an specific exception triggered, except doing an unclean exit
in the code.
Is that what you're suggesting?
from gem-compiler.
Hello @bimargulies, just merged a change to this. See #47 for details.
Cheers.
from gem-compiler.
Related Issues (20)
- Lock down Ruby's ABI when packaging new gem HOT 4
- cannot compile nokogiri HOT 23
- Method to execute commands/scripts before packaging the new gem HOT 7
- Use only in gemfile? HOT 3
- Using these compiled gems with bundle HOT 1
- Testing with trunk ruby 2.5.0dev (2017-10-10 trunk 60155) [x64-mingw32] HOT 3
- Packaging gems with non-traditional extensions
- gem compile test-4.0.6.gem HOT 1
- Using gem compiler in a restricted server environment HOT 4
- Benchmarks? HOT 3
- Specific case: puma with SSL support HOT 6
- Uploading multiple versions of ABI to rubygems HOT 4
- modify the version of the gem HOT 6
- Thanks!!! HOT 1
- gem-compile fails when gem has no Gemfile (SUSE/OpenSUSE) HOT 11
- Fail when artifacts are empty? HOT 2
- Support for ruby 3.0 HOT 7
- Package not found HOT 4
- mysql2.so is not included in the packed gem HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gem-compiler.