[RUBY] ☆ First post: TECH CAMP learning, personal application creation ①, fledgling engineer

Go to TECH CAMP

I posted it for the first time. It's been three months since I started attending the TECH CAMP night course. There were many things I couldn't understand in the curriculum, and I had a lot of troubles, such as searching on Google and asking mentors each time. Even though I repeated the errors, I was delighted to say that it worked safely.

I managed to do various things, and finally it became a personal application development.

To be honest, it's still a series of trial and error, but after all, what I'm doing may be forgotten over time, so I recorded what I had a hard time solving. I thought it would be better, so I posted it.

I'm still unfamiliar and inexperienced in knowledge, so it may be wrong to write it, but I thought it was meaningful to post it clearly, so it's wrong. I would be grateful if you could point out the point clearly.

I tried to display the view when creating a personal app First of all, I got the following error.

image.png

The cause was that haml could not be installed. So in the Gemfile

『gem 'haml-rails'』

Enter At the terminal

『bundle install』

And then convert the existing erb to haml

『rails haml:erb2haml』

Then "would you like ~" will appear, so enter "y" This resolved the error.

Recommended Posts

☆ First post: TECH CAMP learning, personal application creation ①, fledgling engineer
TECH CAMP learning personal application creation ②
TECH CAMP learning personal app ④ git ignore
Personal application creation # 2
Personal application creation # 3
Personal application creation # 1
Personal application creation term
TECH CAMP (Engineer career change) Review of learning contents in the 6th week
TECH CAMP (Engineer career change) Review of learning contents in the 4th week