Skip to content
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

local set-up following README doesn't make success #1265

Open
16dango opened this issue Mar 26, 2024 · 3 comments
Open

local set-up following README doesn't make success #1265

16dango opened this issue Mar 26, 2024 · 3 comments

Comments

@16dango
Copy link

16dango commented Mar 26, 2024

Hi, I'm new to contribute on OSS.

I'd like to work on this
#1264

I'd like to join your project "lobsters" and started preparing local develop environment yesterday.
I followed all of README for that but I'm struggling on this step

rails fake_data

the error comes up like below

KeyError (key not found: :Field
Did you mean?  :"Field\x00\x00"):

app/models/keystore.rb:18:in `value_for'
app/helpers/traffic_helper.rb:59:in `cached_current_intensity'
app/controllers/application_controller.rb:109:in `set_traffic_style'

Is this because of my missed set-up on local or not.
Thank you.

@pushcx
Copy link
Member

pushcx commented Jun 5, 2024

Could you paste what you have in app/helpers/traffic_helper.rb line 59? It should be Keystore.value_for("traffic:intensity") || 0.5 and I can’t imagine how you’re getting this error unless that line has changed.

@16dango
Copy link
Author

16dango commented Jun 6, 2024

スクリーンショット 2024-06-06 9 30 06

Thank you for replying me, and I just cloned and nothing change

@pushcx
Copy link
Member

pushcx commented Jun 6, 2024

Huh, I'm really puzzled. Does the same thing happen if you run bundle exec rails fake_data?

What operating system are you running?

Please paste the output of bundle doctor --verbose and bundle install --verbose.

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

No branches or pull requests

2 participants