RailsCasts Pro episodes are now free!

Learn more or hide this

dragosm's Profile

GitHub User: dragosm

Comments by

Avatar

Wouldn't it be better that these comments would only be shown to the subscribers?

Avatar

If i try
IRB = Pry
I get this:
ruby-1.8.7-p334/lib/ruby/1.8/irb/workspace.rb:19:in initialize': undefined methodconf' for Pry:Class (NoMethodError)
from /Users/dragos/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/irb/context.rb:27:in new'
from /Users/dragos/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/irb/context.rb:27:in
initialize'
from /Users/dragos/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/irb.rb:100:in new'
from /Users/dragos/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/irb.rb:100:in
initialize'
from /Users/dragos/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/irb.rb:59:in new'
from /Users/dragos/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/irb.rb:59:in
start'
from /Users/dragos/.rvm/rubies/ruby-1.8.7-p334/bin/irb:17

Avatar

Is there a way to reload the environment like
reload! from IRB ?

Avatar

Any way to replace the console with pry in 2.3.8 when you run

ruby
ruby script/console

???