Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

im confused. how does teacher setup 1.9.3 [~/Projects]$ ?? i dont get where hes typing this

i dont understand sometimes. i know its basic but this is frustrating when every 2 seconds i get confused on something when it couldve been explained simply in the video....he opens up terminal. but im on windows so when i open up CMD prompt...its just not parallel to his teachings!

13 Answers

Roberto Alicata
Roberto Alicata
Courses Plus Student 39,959 Points

Did you installed ruby and rails on Windows using RailsInstaller or you follow this link from the Teacher's notes?

yup im caught up with everything

i just dont know how to follow the beginning portion of the video.

Roberto Alicata
Roberto Alicata
Courses Plus Student 39,959 Points

One step at time :)

you managed to install ruby and rails on your PC ?

what versions? open cmd.exe and type:

ruby -v 

then type:

rails -v

when i type in ruby - v , i get ... ruby 2.0.0p598 than when i type in rails - v it says DL is deprecated, please use FIDDLE than a bunch of stuff comes up

Roberto Alicata
Roberto Alicata
Courses Plus Student 39,959 Points

i'm sorry... I typed rails - v with a space... type: rails -v

Roberto Alicata
PLUS
Roberto Alicata
Courses Plus Student 39,959 Points
1.9.3 [~/Projects]$ 

this is the shell (console) path of the teacher's machine but since you are on a windows PC when you open cmd.exe you will see something like:

C:\Users\Danny>

This is normal

Rails 3.2.18

Roberto Alicata
Roberto Alicata
Courses Plus Student 39,959 Points

Ok... your rails is a bit old... go to cmd.exe and type these three command (one at time):

gem install bundler

gem install sqlite

gem install rails 

i did all that though in the previous video...but it says cant find a valid sqlite...in the previous video they told me to put sqlite3 and i did .. i did all this in the previous video

it says in the video that i should follow these versions i originally had 4. something but the video told me to come back to this so it can work properly..i dont know

no its not updated...when i click gem install rails it says ERROR: while executing gem (NoMethodError) undefined method size for nil:NilClass

im going to go to sleep i've been up all night trying to figure this stuff out. ill talk to you later

yeah thats what i was going to do since i had troubles. grazie amico mio

im still getting problems when i follow the other video...when i type into cmd prompt gem install bundler gem install sqlite gem install rails

all says error

Roberto Alicata
PLUS
Roberto Alicata
Courses Plus Student 39,959 Points

Installing rails on a windows machine has never been easy.

I suggest to use the virtual machine with VirtualBox & Vagrant

follow this video and you will have a fully functional virtual machine with rails4 installed and the console will be very similar to the tutorials