So what is the question?
thanks you very much for responding to me l have been struggling very much to install rails on my windows machine for over 3months however l managed to install it but whenever l tries to create a project it brings an error of some gems missing. my question is how can l resolve the error because have even updating the gems but still it doesn’t works
this is the issue
Hi @AWIO-ALLAN
Did you run the suggested command? Did it output any additional error?
l still continues to experience the same error
Hi Awio, I have installed and used Rails 8 on Windows Ruby 3.3 with my notes all here: Could you paste the error you see, preferably as text since I don’t seem to be getting the images you are posting. Best regards, Mohit.
I had intended to post this link but it got stripped from the email reply: Rails 8.0 with Ruby 3.3 on Windows: It just works! (and what to do if it doesn't!)
Also, if you’re getting a specific error of that kind, could you try to do a gem update
to see if that handles the issue?
By the way, what is the Ruby version that you are using?
this is the error am facing whenever l tries to create the project (Microsoft Windows [Version 10.0.19045.5247] (c) Microsoft Corporation. All rights reserved.
C:\Users\Admin>rails -v Rails 8.0.1
C:\Users\Admin>ruby -v ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [x64-mingw-ucrt]
C:\Users\Admin>rails new first_project create create README.md create Rakefile create .ruby-version create config.ru create .gitignore create .gitattributes create Gemfile run git init from “.” Initialized empty Git repository in C:/Users/Admin/first_project/.git/ create app create app/assets/stylesheets/application.css create app/controllers/application_controller.rb create app/helpers/application_helper.rb create app/jobs/application_job.rb create app/mailers/application_mailer.rb create app/models/application_record.rb create app/views/layouts/application.html.erb create app/views/layouts/mailer.html.erb create app/views/layouts/mailer.text.erb create app/views/pwa/manifest.json.erb create app/views/pwa/service-worker.js create app/assets/images create app/assets/images/.keep create app/controllers/concerns/.keep create app/models/concerns/.keep create bin create bin/brakeman create bin/dev create bin/rails create bin/rake create bin/rubocop create bin/setup create bin/thrust create Dockerfile create .dockerignore create bin/docker-entrypoint create .rubocop.yml create .github/workflows create .github/workflows/ci.yml create .github/dependabot.yml create config create config/routes.rb create config/application.rb create config/environment.rb create config/cable.yml create config/puma.rb create config/storage.yml create config/environments create config/environments/development.rb create config/environments/production.rb create config/environments/test.rb create config/initializers create config/initializers/assets.rb create config/initializers/content_security_policy.rb create config/initializers/cors.rb create config/initializers/filter_parameter_logging.rb create config/initializers/inflections.rb create config/initializers/new_framework_defaults_8_0.rb create config/locales create config/locales/en.yml Ignoring stringio-3.1.1 because its extensions are not built. Try: gem pristine stringio --version 3.1.1 Ignoring stringio-3.1.1 because its extensions are not built. Try: gem pristine stringio --version 3.1.1 create config/master.key append .gitignore create config/boot.rb create config/database.yml create db create db/seeds.rb create lib create lib/tasks create lib/tasks/.keep create log create log/.keep create public create public/400.html create public/404.html create public/406-unsupported-browser.html create public/422.html create public/500.html create public/icon.png create public/icon.svg create public/robots.txt create script create script/.keep create tmp create tmp/.keep create tmp/pids create tmp/pids/.keep create vendor create vendor/.keep create test/fixtures/files create test/fixtures/files/.keep create test/controllers create test/controllers/.keep create test/mailers create test/mailers/.keep create test/models create test/models/.keep create test/helpers create test/helpers/.keep create test/integration create test/integration/.keep create test/test_helper.rb create test/system create test/system/.keep create test/application_system_test_case.rb create storage create storage/.keep create tmp/storage create tmp/storage/.keep remove config/initializers/cors.rb remove config/initializers/new_framework_defaults_8_0.rb run bundle install --quiet Source rubygems repository https://rubygems.org/ or installed locally is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions WARN: Unresolved or ambiguous specs during Gem::Specification.reset: psych (>= 4.0.0) Available/installed versions of this gem: - 5.2.2 - 5.1.2 WARN: Clearing out unresolved specs. Try ‘gem cleanup ’ Please report a bug if this causes problems. WARN: Unresolved or ambiguous specs during Gem::Specification.reset: stringio (>= 0) Available/installed versions of this gem: - 3.1.2 - 3.1.1 WARN: Clearing out unresolved specs. Try ‘gem cleanup ’ Please report a bug if this causes problems. run bundle lock --add-platform=x86_64-linux Writing lockfile to C:/Users/Admin/first_project/Gemfile.lock Fetching gem metadata from https://rubygems.org/… Source rubygems repository https://rubygems.org/ or installed locally is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions Resolving dependencies… run bundle binstubs bundler Source locally installed gems is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions rails importmap:install Source locally installed gems is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions apply C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/importmap-rails-2.1.0/lib/install/install.rb Add Importmap include tags in application layout insert app/views/layouts/application.html.erb Create application.js module as entrypoint create app/javascript/application.js Use vendor/javascript for downloaded pins create vendor/javascript create vendor/javascript/.keep Configure importmap paths in config/importmap.rb create config/importmap.rb Copying binstub create bin/importmap run bundle install --quiet Source locally installed gems is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions rails turbo:install stimulus:install Source locally installed gems is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions Source locally installed gems is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions apply C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/turbo-rails-2.0.11/lib/install/turbo_with_importmap.rb Import Turbo append app/javascript/application.js Pin Turbo append config/importmap.rb run bundle install --quiet Source locally installed gems is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions Source locally installed gems is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions apply C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/stimulus-rails-1.3.4/lib/install/stimulus_with_importmap.rb Create controllers directory create app/javascript/controllers create app/javascript/controllers/index.js create app/javascript/controllers/application.js create app/javascript/controllers/hello_controller.js Import Stimulus controllers append app/javascript/application.js Pin Stimulus Appending: pin “@hotwired/stimulus”, to: “stimulus.min.js” append config/importmap.rb Appending: pin “@hotwired/stimulus-loading”, to: “stimulus-loading.js” append config/importmap.rb Pin all controllers Appending: pin_all_from “app/javascript/controllers”, under: “controllers” append config/importmap.rb run bundle install --quiet Source locally installed gems is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions run bundle binstubs kamal Source locally installed gems is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions run bundle exec kamal init Source locally installed gems is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions 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 Source locally installed gems is ignoring #<Bundler::StubSpecification name=stringio version=3.1.1 platform=ruby> because it is missing extensions create config/cache.yml create db/cache_schema.rb gsub config/environments/production.rb create config/queue.yml create config/recurring.yml create db/queue_schema.rb create bin/jobs gsub config/environments/production.rb create db/cable_schema.rb force config/cable.yml
C:\Users\Admin>)
am using ruby version 3.3.6
Thanks, I see it now. Ruby 3.3 did work for me, so could you try to do a gem update
and try one more time? It’s frustrating that it works perfectly for me
thanks you very much it has work very well. have now began a baby step in coding using ruby on rails