Skip to content

Instantly share code, notes, and snippets.

@alterisian
Created January 20, 2025 16:56
Show Gist options
  • Save alterisian/9acfdf2d14b5f4cbcab84b13933d8891 to your computer and use it in GitHub Desktop.
Save alterisian/9acfdf2d14b5f4cbcab84b13933d8891 to your computer and use it in GitHub Desktop.
first rails 8.0.1 install, errors.
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
stringio (>= 0)
Available/installed versions of this gem:
- 3.1.2
- 3.0.4
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
run bundle lock --add-platform=x86_64-linux
Writing lockfile to /home/oceanician/code/montes/malagamontes/Gemfile.lock
run bundle binstubs bundler
rails importmap:install
<internal:/home/oceanician/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require': cannot load such file -- bootsnap/setup (LoadError)
from <internal:/home/oceanician/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
from /home/oceanician/code/montes/malagamontes/config/boot.rb:4:in `<top (required)>'
from bin/rails:3:in `require_relative'
from bin/rails:3:in `<main>'
rails turbo:install stimulus:install
<internal:/home/oceanician/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require': cannot load such file -- bootsnap/setup (LoadError)
from <internal:/home/oceanician/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
from /home/oceanician/code/montes/malagamontes/config/boot.rb:4:in `<top (required)>'
from bin/rails:3:in `require_relative'
from bin/rails:3:in `<main>'
run bundle binstubs kamal
run bundle exec kamal init
Created configuration file in config/deploy.yml
Created .kamal/secrets file
Created sample hooks in .kamal/hooks
force .kamal/secrets
force config/deploy.yml
rails solid_cache:install solid_queue:install solid_cable:install
<internal:/home/oceanician/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require': cannot load such file -- bootsnap/setup (LoadError)
from <internal:/home/oceanician/.rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
from /home/oceanician/code/montes/malagamontes/config/boot.rb:4:in `<top (required)>'
from bin/rails:3:in `require_relative'
from bin/rails:3:in `<main>'
oceanician@River:~/code/montes$ gem cleanup stringio
Cleaning up installed gems...
Clean up complete
oceanician@River:~/code/montes$ ls
Gemfile Gemfile.lock malagamontes
oceanician@River:~/code/montes$ rm -Rf malagamontes
oceanician@River:~/code/montes$ bundle exec rails new malagamontes
@alterisian
Copy link
Author

bundle exec gem install rubygems-update
Update to 3.6.3

A new release of RubyGems is available: 3.4.10 → 3.6.3!
Run gem update --system 3.6.3 to update your installation.

oceanician@River:~/code/montes$ gem update --system 3.6.3
ERROR: Your RubyGems was installed trough APT, and upgrading it through RubyGems
itself is unsupported. If you really need the latest version of RubyGems (tip:
you usually don't), then you need to install RubyGems (and Ruby) manually,
maybe using tools like ruby-install, rvm, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment