Giter VIP home page Giter VIP logo

grape-starter's Issues

command not found: grape-starter

After the gem installation, the main command not work.

grape-starter new awesome_api
zsh: command not found: grape-starter

Terminal: iTerm2 with zsh
System: MacOS
Ruby Version: ruby 2.7.1p83

Dependency missing

Hello,

You should add awesome_print in our dependencies to avoid crash during the generation.

Requires 'pry' but does not include as gem dependency

Apparently, grape-starter requires the pry gem, but it is not listed as a dependency in the gemspec file. The Gemfile only lists pry for development or test.

$ bundle exec grape-starter new eyaml
bundler: failed to load command: grape-starter (/Users/jxb2016/.rbenv/versions/2.5.5/bin/grape-starter)
LoadError: cannot load such file -- pry
  /Users/jxb2016/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/grape-starter-1.2.2/bin/grape-starter:6:in `require'
  /Users/jxb2016/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/grape-starter-1.2.2/bin/grape-starter:6:in `<top (required)>'
  /Users/jxb2016/.rbenv/versions/2.5.5/bin/grape-starter:23:in `load'
  /Users/jxb2016/.rbenv/versions/2.5.5/bin/grape-starter:23:in `<top (required)>'

My Gemfile:

source 'https://rubygems.org'

ruby '~> 2.5'

gem 'hiera-eyaml', '~> 3.0'
gem 'grape'
gem 'grape-swagger'
gem 'grape-swagger-entity'

group :test do
  gem 'rspec'
end

group :development do
  gem 'rubocop'
  gem 'grape-starter'
end

Update README

Describe flags and options and maybe more details

Grape new project with ORM flag is not working

I am using the instrutions give for the Readme, is not generating the files, is not generating the database.yml and another files:

├── .config
├── config
│   …
│   ├── database.yml
│   └── initializers
│       └── database.rb
…
├── db
│   └── migrations
…

Command:

grape-starter new new_project --orm=sequel

Grape-starter version: grape-starter version 1.2.4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.