I'd recomend RubyMine.
It's by far the most intelligent Ruby and Rails IDE on the market. Some of the features:
Runs on Windows, Mac OS X or Linux
Intelligent Ruby Editor with completion, code snippets and automatic refactorings
On-the-fly code analysis throughout the project tree with type inference and quick-fixes
Rails Models Diagram, Rails Project View ...
Run your Ruby code on a JVM with JRuby.
Java includes SecureRandom, a cryptographically strong random number generator (RNG).
Pass the number of bits to be generated, right justified, with leading zeros.
int x = new SecureRandom().nextInt() ;
I've spent a lot of time working with virtualization, Docker and automation recently. One of the biggest challenges has been to get a good testing environment internally, without having to pay exorbitant amounts of money to use services like Heroku. I knew there had to be a better, more affordable alternative, and I was determined to find it.
I've used just ...
One thing to note is that Ruby on Rails is a framework (Ruby is the language and Rails is the framework), while PHP in itself is an entire language and is not actually a framework. Several frameworks do exist for PHP, such as:
In turns of decent MVC frameworks for Ruby, you're basically locked to only two (with smaller ...
JBaruch's answer is a pretty good fact sheet for RubyMine. I'd like to write an answer that talks about my own personal experiences with the product, in the few days that I've used it (yay for 30-day free trials), along with some of my screenshots.
First, a disclosure: I'm a paying customer of another JetBrains product, IntelliJ IDEA. There are a number of ...
For a full wiki you should take a look at gitit it can generate a wiki from a set of markdown pages, including having a directory structure, is git aware and can produce a set of wiki pages from markdown, (and a lot of other stuff), by using pandoc for the input processing.
It looks a lot easier to use than gollum.
If you just would like to make a set of ...
You probably want RubyMine. This is from JetBrains, a very well known company. To start up with selenium you can start with Selenium IDE for recording and exporting the test then put them on RubyMine and take it from there. Here is a step by step instruction how to export the Selenium Tests to different language using IDE
Maybe something like httpry will be better suited to your purpose.
More info can be found at:
The code is hosted by GitHub:
httpry version 0.1.8 -- HTTP logging and information retrieval tool
Copyright (c) 2005-2014 Jason Bittel
Usage: httpry [ -dFhpqs ] [-b file ] [ -f ...
If don't need as many functions that burp and fiddler offer you can go for Membrane Soap Monitor. Because it is a Java based application it runs on Linux, Mac OS and Windows.
Just download and unzip, the provided .exe will automatically find your Java Runtime. Then create a simple proxy and leave all values unchanged except those where you have to give the ...
I am using fiddler to achieve that for my work.
Fiddler can capture the requests from the entire PC or any specific process or any specific application by dragging icon to the window
You can see the request and responses from the side tab for each request.
You can resend the requests if you want through it's neat UI.
You can log the requests for a specific ...
Yes, Rubinius is it.
Rubinius is a modern language platform that supports a number of programming languages.
Many popular Ruby applications, like Rails, run on Rubinius, which aims to be compatible with Ruby version 2.2.
here are a couple resources I have found, that provide an open source "dialog system".
I just ran this yesterday locally, with the telnet interface for rules it looks interesting. There is an example using websockets; but I didn't get that working as of yet.
I'm not a big Ruby user, but it took me about ten seconds of Googling to find this. It appears to have:
Point-to-country using latitude and longitude from a variety of sources - simply a single function call
Uses GeoNames open-source data
Is accurate in most places, but since it works by finding known places nearest to the chosen point. I did test it about ...
Text-to-speech libraries for Ruby include:
espeak-ruby - Wrapper for espeak
FestivalTTS - Wrapper for Festival
Google Cloud Text-to-Speech API
Google Translate service
mac-say - Wrapper for say command on Mac
Pollynomial - Wrapper for AWS Polly
You can also send text to a terminal and use various terminal-based libraries or one of ...
First, as far as "Pure Ruby", RubyTk is packaged with MRI and doesn't usually require separate installation on Windows or Mac. However, we're talking about using a GUI toolkit, so of course some GUI toolkit library is being used beyond the core Ruby interpreter. Almost all of these libraries will require some prerequisite installation steps. ...
If you want to do something basic in Java, use Servlets. Java servlets allow you to use java to make web pages at a very basic level. This is good if you aren't super experienced in making beautiful front-end pages.
Servlets are like embedding HTML in your java. It is almost like you are writing a Java program to print out a dynamically created webpage. i.e....
Are you trying to edit the ruby files while the ruby application is running?
Or are you using the python scripts to generate a project, like cookiecutter?
Ruby does support reflection and metaprogramming so you can:
check if a method exists using respond_to?
define a method using define_method.
If it were me, I'd do everything in ruby, but it depends ...
There's a few things you could try. There is a New Relic app for monitoring rails. You could try skyligh.io also (I have found a lot of people moving from new relic to skylight). There's also a way to tail your log files with capistrano (http://www.talkingquickly.co.uk/2013/12/tailing-log-files-with-capistrano-3/) or if you feel in the need of hard work, ...
You should consider taking a look at Visual Studio Code, the newest Microsoft code editor. It’s a cross platform editor that’s free, extensible, and customizable. It supports many code extensions including Ruby.
The Ruby extensions supports debugging and language colorization.
Update: Visual Studio Code has a built in debugger that works with loaded ...
"I think I have narrowed it down to Python or Ruby, but there seem to be thousands of different versions of even those" - I don't know Ruby, but Python only has two versions 2.x and 3.x. Use the latest 3.x if you want to.
The free PyCharm community edition IDE is excellent (JetBrains, who make it, sell many excellent IDEs), and has all of the debug features ...
I have used something like this:
text = CGI.escapeHTML(text)
text = CGI.unescapeElement(text, %w[foo bar])
Unfortunately, the problem I'm having now is that this doesn't account for invalid tag attributes, so I'm currently trying to figure out a clever way to escape elements that have valid HTML tag types, but invalid attributes. Like if <b>bold</...
comes with support for Python and C/++,
it has a domain for Ruby in the contrib area or here,
there is a Java domain, here, and
can be extended for other language parsing, to add bash to the list if you cannot find an extension should be trivial.
There is a python package called fuzzywuzzy that has a number of tools to aid in this sort of text searching.
Example, (from the web site):
>>> choices = ["Atlanta Falcons", "New York Jets", "New York Giants", "Dallas Cowboys"]
>>> process.extract("new york jets", choices, limit=2)
[('New York Jets', 100), ('New York Giants', 78)]
OP notes: Ruby specific: It is too hard / impossible to come up with regexes that take care of all edge cases.
It isn't Ruby-specific. Regexes don't cut it (even PCRE) when processing real programming languages. Refactoring tools for virtually any language must fully parse that language accurately in order to enable accurate refactorings. (Nobody wants ...
I don't think that there's a complete implementation out there.
But I guess those projects are the nearest solutions you might find:
depending on what you need you might make use of projects that connect to the traditional interpreters.
I just found http://larsjung.de/h5ai/ which is quite beautiful.
It creates thumbnails, features up- and downloading several files at once and even comes with markdown-support and syntax-highlighting for textfiles.
Check out the demo at: http://larsjung.de/h5ai/sample
If you know other solutions, feel free to answer them as well!