Skip to content

Commit 818d40b

Browse files
committed
This message contains the updated Ruby on Rails file.
1 parent 07a3e49 commit 818d40b

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
44
ruby "3.2.2"
55

66
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
7-
gem "rails", "~> 7.0.6"
7+
gem "rails", "~> 8.1.2"
88

99
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
1010
gem "sprockets-rails"
1111

1212
# Use sqlite3 as the database for Active Record
13-
gem "sqlite3", "~> 1.4"
13+
gem "sqlite3", "~> 2.9.0"
1414

1515
gem 'webpacker', '~> 5.x.x'
1616

1717
# Use the Puma web server [https://github.com/puma/puma]
18-
gem "puma", "~> 5.0"
18+
gem "puma", "~> 7.2.0"
1919

2020
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
2121
gem "importmap-rails"

Output/output.png

27.8 KB
Loading

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ This repository contains a sample full-stack application demonstrating how to di
6060
6161
6262
## Output
63-
![Frontend Preview](./output.png)
63+
![Frontend Preview](./Output/output.png)
6464
6565
## Troubleshooting
6666
- **Version error**: Check and install the current version as by prerequistes.

config/environments/development.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,12 @@
6767

6868
# Uncomment if you wish to allow Action Cable access from any origin.
6969
# config.action_cable.disable_request_forgery_protection = true
70+
Rails.application.configure do
71+
# ...other settings...
72+
73+
# Force Sprockets to keep its cache in memory in dev
74+
config.assets.configure do |env|
75+
env.cache = Sprockets::Cache::MemoryStore.new
76+
end
77+
end
7078
end

0 commit comments

Comments
 (0)