#Startup the console…
rails console

#or whatever you need we have multiple environments so we’re using

rails console staging

dc = Dalli::Client.new(‘localhost:11211′) #will return something like
=> #Dalli::Client:0x0000001e1f2340 @servers=”localhost:11211″, @options={}, @ring=nil

#then,

dc.flush_all # should return
=> [true]

#quick and dirty