On Mon, Mar 11, 2013 at 9:49 PM, Jeff G. <[email protected]> wrote:

> Hey guys, searched a bit, but with my lack of total understanding
> figured best just to post a unique tip for help.
>
>
>
>
>
> I am self teaching myself Ruby on Rails and Ruby using CodeSchool.com
> and Michael Hartl's book Ruby on Rails 3 Tutorial.  I am using Rubymine
> as suggested by a close friend who is currently going to school for IT
> and coding.  Love Rubymine just have a small issue.
>
>
>
> I need to be able to run "rails console" for page 250ish in the book.
> Obviously I cannot do that from "cmd" prompt like everything else to
> mimic Rubymine.  And I know that its under "Tools > Run Rail Console"  I
> have tried running it in default mode and development mode.  It gives me
> the following string back (reason i need to run is for user.create! ,
> etc)... is my install wrong, coding just straight F****d, or am I
> missing a stupid step, appreciate all the help up front.
>
>
>
> C:\RailsInstaller\Ruby1.9.3\bin\ruby.exe -e
> $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) "C:/Users/Jeff
> Gray/RubymineProjects/sample_apps/script/rails" console development
> C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/irb/completion.rb:9:in
> `require': cannot load such file -- readline (LoadError)
>     from
>

The lib readline cannot be found. It is not installed by default on
Windows. You can either try to install it or disable it by adding this to
your .irbrc file:

IRB.conf[:USE_READLINE] = false

Cheers,

-- 
Nicolas Desprès

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to