On 21 June 2013 14:12, Oliver David <[email protected]> wrote:
> I'm new to Ruby.  I installed Rails on Windows 8.
>
> When I type mkdir in IRB, I'm getting this.  I tried running the IRB as
> administrator too, and still get the same result
>
>
> irb(main):001:0> mkdir lesson2
> NameError: undefined local variable or method `lesson2' for main:Object
>         from (irb):1
>         from C:/RailsInstaller/Ruby1.9.3/bin/irb:12:in `<main>'
> irb(main):002:0> cd lesson

Those commands (mkdir and cd) are not supposed to be run in irb (which
is for ruby code), but in a console window.  Whether they work in
Windows anyway I do not know.  I strongly advise not to use Windows
for developing RoR applications, it is much easier in Linux (Ubuntu
for example) or Mac.

Colin

>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/eeef5f0a-4225-4f9b-9ac0-30aafb351ff0%40googlegroups.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsJRDW-wc8wMLLitR5DXo4vFKYhgigaRnRnccfQLv-FcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to