Comments (7)
Well this is a strange one - but for some reason in the spec file ch10/shuffle_spec.rb line 2 says:
require 'Set'
- this seemed to be throwing an error. If I write this in pry I get:
/Users/grahamnovo/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/Set.rb:528: warning: already initialized constant Set::InspectKey
/Users/grahamnovo/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/set.rb:528: warning: previous definition of InspectKey was here
so I changed it to require 'set'
(lowercase 's') and the build passed!
Thanks for your suggestions @danielschambers !
from learn_to_program.
It doesn't seem to be able to find your rpsec file. Are you able to pass the challenges locally?
from learn_to_program.
Hi @danielschambers yes the tests all pass locally. I'll try to push everything again and see if that does anything...
from learn_to_program.
Yeah recommit etc and see what error comes up then. I know it's the git equiv of turning it off and on but it seems to have worked for some people.
from learn_to_program.
Hmm no joy, still failing with the same error https://travis-ci.org/makersacademy/learn_to_program/builds/130515752
from learn_to_program.
In which case, check your file paths and make sure spec is where it should
be
On 16 May 2016 at 09:22, Graham Ormiston [email protected] wrote:
Hmm no joy, still failing with the same error
https://travis-ci.org/makersacademy/learn_to_program/builds/130515752—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#352 (comment)
from learn_to_program.
Haha, such an incredible issue.
gg for completing it.
On 16 May 2016 at 09:44, Graham Ormiston [email protected] wrote:
Well this is a strange one - but for some reason in the spec file
ch10/shuffle_spec.rb line 2 says:require 'Set' - this seemed to be throwing an error. If I write this in
pry I get:/Users/grahamnovo/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/Set.rb:528:
warning: already initialized constant Set::InspectKey
/Users/grahamnovo/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/set.rb:528:
warning: previous definition of InspectKey was hereso I changed it to require 'set' (lowercase 's') and the build passed!
Thanks for your suggestions @danielschambers
https://github.com/danielschambers !—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#352 (comment)
from learn_to_program.
Related Issues (20)
- extend_built_in_classes.rb fails test on more extensive test of roman numerals HOT 2
- Shuffle - why doesn't it work HOT 1
- Orange_tree HOT 2
- Ch13 - orange_tree.rb HOT 1
- Challenges Passing rspec, but not Travis CI
- safer_picture issue! HOT 2
- Typo preventing rspec from working properly in Ch09
- Running ch13 orange tree spec
- old school roman numerals rspec test testing wrong values for 4's and 9's HOT 2
- The Travis CI build failed
- Ch11. Trying to make a method to check whether or not a batch has already been used
- Ch09. Continuous Integration test fail despite RSpec pass: roman numerals code (ch09 L2P) passes RSpec tests but fails CI
- ch13 orange_tree solution (how_you_and_i_could_do_it.rb)
- ch14 program_logger Rspec expectiation
- ch10 shuffle
- Travis checks failed, even though program works HOT 2
- I can't seem to run any of the rspec tests on my CL HOT 2
- Can't push anything to github HOT 1
- Codewars Problem - Method evaluating to nil HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learn_to_program.