How I can run 'cmd' command inside rake process using Rails 4

I want to save data after running below command.

  ip = '' #it will be dynamic.

  traceroute -q 1 -n ip

But problem is how can I run this command inside rake task.

Normally it runs in command line of Linux.

Any gem or ruby library to do this?

Any help please....


It possible to run any shell command with magic quote "`" in any ruby code.

ip = ''
`traceroute -q 1 -n #{ip}`

Need Your Help

NServiceBus: Unable to set the value for key: NServiceBus.Transport.ConnectionString

nservicebus structuremap objectfactory

My application I'm working on uses NServiceBus for a messaging bus for some operations. In my AppStartup, I'm trying to configure NServiceBus to use a custom Unicast config, which is running

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.