Skip to content

Issue running bin/dev when creating new project rails new project --css tailwind #185

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

Closed
kevin-cosio opened this issue Jul 30, 2022 · 1 comment

Comments

@kevin-cosio
Copy link

kevin-cosio commented Jul 30, 2022

➜  depot git:(main) ✗ bin/dev 
09:25:48 web.1  | started with pid 6454
09:25:48 css.1  | started with pid 6455
09:25:48 css.1  | /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/definition.rb:498:in `materialize': Could not find importmap-rails-1.1.5, turbo-rails-1.1.1, stimulus-rails-1.1.0, tailwindcss-rails-2.0.10-arm64-darwin, bootsnap-1.13.0, msgpack-1.5.4, strscan-3.0.4 in any of the sources (Bundler::GemNotFound)
09:25:48 css.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/definition.rb:191:in `specs'
09:25:48 css.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/definition.rb:247:in `specs_for'
09:25:48 css.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/runtime.rb:18:in `setup'
09:25:48 css.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler.rb:162:in `setup'
09:25:48 css.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/setup.rb:20:in `block in <top (required)>'
09:25:48 css.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/ui/shell.rb:136:in `with_level'
09:25:48 css.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/ui/shell.rb:88:in `silence'
09:25:48 css.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/setup.rb:20:in `<top (required)>'
09:25:48 css.1  |       from <internal:/Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
09:25:48 css.1  |       from <internal:/Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
09:25:48 web.1  | /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/definition.rb:498:in `materialize': Could not find importmap-rails-1.1.5, turbo-rails-1.1.1, stimulus-rails-1.1.0, tailwindcss-rails-2.0.10-arm64-darwin, bootsnap-1.13.0, msgpack-1.5.4, strscan-3.0.4 in any of the sources (Bundler::GemNotFound)
09:25:48 css.1  |       from /Users/kevon/Documents/projects/ruby/depot/config/boot.rb:3:in `<top (required)>'
09:25:48 web.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/definition.rb:191:in `specs'
09:25:48 css.1  |       from bin/rails:3:in `require_relative'
09:25:48 web.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/definition.rb:247:in `specs_for'
09:25:48 css.1  |       from bin/rails:3:in `<main>'
09:25:48 web.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/runtime.rb:18:in `setup'
09:25:48 web.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler.rb:162:in `setup'
09:25:48 web.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/setup.rb:20:in `block in <top (required)>'
09:25:48 web.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/ui/shell.rb:136:in `with_level'
09:25:48 web.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/ui/shell.rb:88:in `silence'
09:25:48 web.1  |       from /Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/bundler/setup.rb:20:in `<top (required)>'
09:25:48 web.1  |       from <internal:/Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
09:25:48 web.1  |       from <internal:/Users/kevon/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
09:25:48 web.1  |       from /Users/kevon/Documents/projects/ruby/depot/config/boot.rb:3:in `<top (required)>'
09:25:48 web.1  |       from bin/rails:3:in `require_relative'
09:25:48 web.1  |       from bin/rails:3:in `<main>'
09:25:49 css.1  | exited with code 1
09:25:49 system | sending SIGTERM to all processes
09:25:49 web.1  | exited with code 1
@flavorjones
Copy link
Member

Hi! I'm sorry you're having this problem.

Unfortunately, I can't reproduce what you're seeing. It looks like you may not have all the necessary gems installed, so I would recommend running bundle install in case that's the cause.

If that doesn't resolve your issue, please respond with a comment that shows:

  • the output of bundle env
  • the output from your rails new command

Thank you!

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

No branches or pull requests

2 participants