learn-co-curriculum / ttt-1-welcome-rb Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Referring to file:
learn-co-curriculum/ttt-1-welcome-rb-v-000/readme.md
Text needing correction from this file is pasted below the **** line.
The lecture leads reader to expect 2 different examples of error code but the same example shows up twice. I'm not going to suggest a specific edit. I can rerun the lab and produce different error output but some errors I produced might be confusing for some students at this early stage of the course (and I'm a newbie too!). So, it would be great if an instructor or more experienced coder produces new example error code to for 2 distinct examples in the readme file.
:-)
When you run learn
you might see failing tests even though your program seemingly works. The failures might read something like:
1) lib/welcome.rb prints "Welcome to Tic Tac Toe!"
Failure/Error: load './lib/welcome.rb'
#<IO:0x007fa2b28325a0> received :puts with unexpected arguments
expected: ("Welcome to Tic Tac Toe!")
got: ("Welcome to Tic Tac Toe")
# ./lib/welcome.rb:4:in `puts'
Or something that looks like:
1) lib/welcome.rb prints "Welcome to Tic Tac Toe!"
Failure/Error: load './lib/welcome.rb'
#<IO:0x007fa2b28325a0> received :puts with unexpected arguments
expected: ("Welcome to Tic Tac Toe!")
got: ("Welcome to tic tac toe!")
# ./lib/welcome.rb:4:in `puts'
The instructions for this lesson are unclear and should be updated as follows:
welcome.rb
already exists in the folder `lib' but is not displayed in Learn IDE default view.When I first downloaded IDE on my desktop, it worked completely fine. Then all of a sudden, it just disconnected and came up with this message:
Learn IDE: you are not connected!
The connection with the remote server failed.
It has not let me reconnect since.
Strangely, this issue only occurs on my desktop, and I have got it working on my laptop.
I can't identify the problem & to fix it. It seems like the only error I was able to fix was in the lib file.
I made a mistake and deleted the file ttt-1-welcome-rb-ruby-intro-000. trying to reopen the file does not work how can I fix this issue
I have completed this lab but the local test are not updating the learn.co website to show no errors. It did update for "Learn Submit",
`[01:07:45] (master) ttt-1-welcome-rb-v-000
// ♥ ruby lib/welcome.rb
Welcome to Tic Tac Toe!
[01:08:46] (master) ttt-1-welcome-rb-v-000
// ♥ learn
lib/welcome.rb
prints "Welcome to Tic Tac Toe!"
Finished in 0.00732 seconds (files took 0.28743
seconds to load) `
Getting an error message that Nitrous cannot be opened when I click on the open in Nitrous tab. The error messages asks if I've saved the SSH key. Help please. Thanks!
Given that building TicTacToe is going to be so central to this whole track, I feel like we should do a better job of teeing that up. Right now it feels almost like a non-sequitur.
Either with a readme that is dedicated to just introducing that, or a richer introduction that provides more introductory flavor along the lines of:
"One of the things that's most fun about programming is building applications that you can interact with. It's so satisfying to see your code in action!
Throughout this whole track we'll work together on building your very first app: An interact Tic Tac Toe game. In this lab, we'll get started on laying the foundation for the app. "
etc etc
When using learn open
command, It gives the message:
"It looks like this lesson is a Readme. Plese open it in your browser."
Why i cannot open?
Instructions are not clear in this program. I tried running learn and then ran a puts for the opening message but I think it is missing an irb statement.
Change it prints "Welcome to Tic Tac Toe" do
to it prints "Welcome to Tic Tac Toe!" do
in /spec/welcome_spec.rb
Hi, I'm encountering a problem with Atom. When I save a new file as "lib/welcome.rb" it changes to "lib:welcome.rb" in treeview and command. When I run my program as such it works, but fails the test. I'm not sure what to do but i've been stuck here since yesterday. Please help. Thanks!
I'm having the same issue as Prentice!
Going through all the steps, and completing, but it is not saying passed.
Could not find proper version of rspec-core (3.3.2) in any of the sources
Run bundle install
to install missing gems.
I received this issue when running the "learn" command.
There are no files to edit in atom to edit and proceed further in lesson
Im struck and can't get my github to work. can someone please help??
We don't want to take user to external site
Hello so i have this problem where it dosent track where i am in the process:
Website:
https://gyazo.com/2ae0d1da2363db027abb77d67f279a02
Console in the IDE:
https://gyazo.com/620408d15338a8a5c33ef91665f43985
Code in the file lib/welcome.rb:
https://gyazo.com/58085f80f7211993616982541e2ea50d
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.