curriculum icon indicating copy to clipboard operation
curriculum copied to clipboard

GEvent Manager: Fix google api installation

Open brazhnyknorman opened this issue 1 year ago • 3 comments

Checks

Describe your suggestion

For the Project: Event Manager lesson, it states to install the google api client. This is deprecated, and instead if you want to install the civicinfo gem, you need to use $ gem install google-apis-civicinfo_v2 please update this

Path

Ruby / Rails

Lesson Url

https://www.theodinproject.com/lessons/ruby-event-manager

(Optional) Discord Name

brazhnyk

(Optional) Additional Comments

No response

brazhnyknorman avatar Mar 26 '24 14:03 brazhnyknorman

Related to #23552

JoshDevHub avatar Mar 29 '24 20:03 JoshDevHub

This issue is stale because it has had no activity for the last 30 days.

github-actions[bot] avatar May 07 '24 01:05 github-actions[bot]

Should be able to proceed with this work now that the project management stuff has been set up.

Acceptance Criteria

  • [ ] Have learners set up a Gemfile local to this project with the google-apis-civicinfo_v2 listed.
  • [ ] Change the command to run the program from ruby lib/event_manager.rb to bundle exec ruby lib/event_manager.rb. This will be necessary to have the civic info API gem picked up. This command will have to be updated in numerous places throughout the lesson.

I'll open this up for contributions. Please comment below to be assigned.

JoshDevHub avatar Aug 20 '24 22:08 JoshDevHub

Hi guys, I can help with this I recommend using bundler to install gems. It is smart enough to check against the Ruby version requirement and find a set of gem releases that will satisfy the environment. Also, it will be a good practice to do this in such a way, as was described in the Project Management lesson

I think this command will be better to use: $ bundle install $ bundle add google-apis-civicinfo_v2

Please, let me know what do you think?

PivtoranisV avatar Sep 20 '24 13:09 PivtoranisV

Hi guys, I can help with this I recommend using bundler to install gems. It is smart enough to check against the Ruby version requirement and find a set of gem releases that will satisfy the environment. Also, it will be a good practice to do this in such a way, as was described in the Project Management lesson

I think this command will be better to use: $ bundle install $ bundle add google-apis-civicinfo_v2

Please, let me know what do you think?

Sure I can assign you. And yeah it'd be fine to use bundle add. Just also make sure to change the way the script is run throughout the lesson. Currently they do ruby lib/event_manager.rb but it'll need to be bundle exec ruby lib/event_manager.rb to make sure the local gems are used.

JoshDevHub avatar Sep 20 '24 15:09 JoshDevHub