Comments (4)
I'm not in favor of including Gemfile
in the gem, as it adds to the size and very few people would use it. If you want to install the development dependencies, you should use the --development
argument to gem install
when installing the gem.
from roda.
Understood. FWIW that doesn't work with FreeBSD or other systems that package gems. There the gem tarball is fetched directly, and without the Gemfile development dependencies must be hardcoded in the port's Makefile.
from roda.
If you can parse the dependency information out of the Gemfile, you can parse it out of the gem metadata:
tar xf roda-*.gem
gunzip metadata.gz
ruby -ryaml -e 'p YAML.load(File.read("metadata"))'
Also, Roda's Gemfile just includes the gemspec, and the gemspec is not included in the gem, so the Gemfile would not work if the gemspec wasn't also included. If we shipped the Gemfile without the gemspec, you would get:
$ bundle install --local
[!] There was an error parsing `Gemfile`: There are no gemspecs at /path/to/roda. Bundler cannot continue.
# from /data/code/roda/Gemfile:2
# -------------------------------------------
# source 'https://rubygems.org'
> gemspec
# -------------------------------------------
from roda.
Ahh got it. Thanks for the explanation!
from roda.
Related Issues (20)
- Asset dependencies are not respected in `render` plugin HOT 7
- typecast_params wrong behaviour with array!(:any, 'arr') HOT 1
- `TypeError: no implicit conversion of Array into Hash` when posting JSON array HOT 2
- jemalloc for roda? HOT 2
- Roda in production HOT 1
- opts[:root] not be set after start server. HOT 3
- Envrionments plugin: provide instance methods too? HOT 1
- How can i load coffeescript in roda HOT 2
- How to use common_logger plugin to log information in routes implementation or in specs or other place in the application? HOT 6
- [feature request] Make the view method (from the render plugin) accept a block like the render method does HOT 1
- route_csrf incompatible with rack-protection authenticity token checks HOT 5
- Unfork HOT 3
- env['rack.errors'] parsed as a link in common_logger plugin documentation HOT 2
- String matcher in hash_routes combined with unescape_path does not match non-ascii strings HOT 1
- [Documentation / Question] Request for a FAQ for experienced sinatra users HOT 1
- Raises "Unsupported block result" when using Unreloader and json plugin HOT 2
- On app startup. Getting message > Rack::Handler is deprecated and replaced by Rackup::Handler HOT 2
- Not compatible with Haml >= 6 HOT 2
- URI Unicode handling HOT 6
- Duplicating Content-Type header when header key comes in lowercase HOT 3
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 roda.