Migrate from Merb to Rails3 - merb

What is the best way to migrate from Merb to Rails3 ,i had a look at merb-to-rails3
gem but i don't thing only with that gem i can completely migrate because the helper methods the gem provides are very less.

Related

Is there a stable data migration tool for MongoDB for use with a Nodejs app?

I am needing a stable tool or stable package regarding the changes one would make to a MongoDB instance before the rollout of a new release. I have seen tools like Liquibase and Flyway but I am needing something for Nodejs apps. I am trying to automate this process and allow my team to provide self contained scripts that would be distributed to this package (and a provided package built script) or a service that we employ.
You could use the npm package migrate-mongo. It allows you to create migrations by simply implementing 2 functions; up and down so that you're able to patch/unpatch your data.

Bringing other Chef cookbooks into a custom cookbook

I'm in the process of learning Chef to so I can deploy projects built with Python.
I have my own Cookbook where I am writing my own custom recipes. I've also downloaded the poise-python cookbook. Both sit in the same "cookbooks" path in my app.
What I am trying to figure out is how do I include the methods from poise-python so I can use them in my custom cookbook?
Thanks,
RB
You need to define your dependency in your metadata.rb file for your cookbook. Like this:
depends 'poise-python'
For this particular dependency this is enough to use the custom resources it provides. You should review any dependency's README.md for guidance on using it. You can find poise-python's here. You should also review it's dependencies to be sure you have all of these available (uploaded to your Chef server, or in the cookbooks directory for Chef solo).
Familiarizing yourself with Policyfiles is recommended for dealing with dependencies at a greater scale.

What does node.js mean for Nightwatchjs?

I have been using Selenium, Testng, Java, Maven to automate browser and I know these compliment each other. We can use one tool's method (APIs) in with other.
Now I have to automate using Nightwatch.js. During its initial setup I was asked to install node.js, but never got to know that why I need it? Why an installation of Nightwatch.js itself not enough?
I have tried to find out on Nightwatch's official page, but couldn't find out. Seems I am asking a very basic, foundation level question.
In a Nutshell:
NodeJS is a Javascript runtime that runs on the server. It is built on V8, Google's Javascript engine. This is the equivalent of the JVM and the Java Platform.
npm is a very popular package manager for the Javascript world and it is tighly integrated with Node. This is probably on the npm repositories that you will download Nightwatch.js. This is the package manager part of Maven for Javascript.
Nightwatch.js is a Node library that wraps Selenium for use in a Javascript environment. It is also a test runner, like JUnit or TestNG are for Java.
Hope this helps.

Is there an analoge to rake tasks in express?

I've used rake tasks in my ruby on rails work in the past, and I'm wondering if the node.js framework express has anything similar. Basically, something that loads the environment and lets you execute scripts.
Have you heard of Jake?
Jake is a JavaScript build program for Node.js, with capabilities similar to GNU Make or Ruby's Rake. If you've ever built projects with Rake, you'll be very at home using Jake

Can I get Kronos-Haskell to use my Haskell platform?

Kronos-Haskell installs as a self-contained application and can exist (as near as I can tell) alongside an installation of the Haskell Platform without any issues or interactions. This is a nice feature, however I would like to use a current version of Haskell, along with some additional packages I've installed to the Haskell Platform.
Is there a way to get Kronos-Haskell to use my installation of the Haskell Platform?
You can build IHaskell yourself using this recipe from the README:
git clone http://www.github.com/gibiansky/IHaskell
cd IHaskell
./macos-install.sh
Note - it might take a while as there are a ton of dependencies.

Resources