trying to install SimpleCov for test coverage to upgrade Rails

20 views
Skip to first unread message

pars...@gmail.com

unread,
Jul 12, 2020, 10:09:15 PM7/12/20
to SimpleCov
I'm trying to install SimpleCov for upgrading Rails. The instructions are confusing. On step one it says to add a line of code to Gemfile, which is easy to understand but then it says "bundle install". I don't what to do when the instructions says bundle install. I'm referring to step 1.

pars...@gmail.com

unread,
Jul 12, 2020, 10:44:35 PM7/12/20
to SimpleCov


On Sunday, July 12, 2020 at 7:09:15 PM UTC-7, pars...@gmail.com wrote:
I'm trying to install SimpleCov for upgrading Rails. The instructions are confusing. On step one it says to add a line of code to Gemfile, which is easy to understand but then it says "bundle install". I don't what to do when the instructions says bundle install. I'm referring to step 1.

Also I tried to enter the command "bundle install" in the terminal and it won't install. This comes out: "Your Gemfile lists the gem simplecov (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later." 

I would delete a line of code "gemspec"  from the Gemfile and then I would enter the command and it would install, but the instructions don't say to delete "gemspec"
 

Tobias Pfeiffer

unread,
Jul 19, 2020, 9:32:23 AM7/19/20
to simp...@googlegroups.com, pars...@gmail.com
Hi there,

this means you somehow defined your dependency on simplecov twice. Once
in the gemspec apparently, and once in the Gemfile. That's broken
configuration on your end, we can't accommodate for everything that
might go wrong in our general installation instructions.

Cheers,
Tobi
> --
> You received this message because you are subscribed to the Google
> Groups "SimpleCov" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to simplecov+...@googlegroups.com
> <mailto:simplecov+...@googlegroups.com>.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/simplecov/e2117e76-1097-437a-81b1-83a68493d2c3o%40googlegroups.com
> <https://groups.google.com/d/msgid/simplecov/e2117e76-1097-437a-81b1-83a68493d2c3o%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
http://www.pragtob.info/
Reply all
Reply to author
Forward
0 new messages