Which is the difference between Calabash-ios and Calabash-cucumber? - calabash

What is the difference between Calabash-ios and Calabash-cucumber?

calabash-ios and calabash-cucumber both refer to the same gem, so there is no difference.
https://github.com/calabash/calabash-ios
the reason the gem is called calabash-cucumber is historical - in the beginning there was no calabash-android gem.
i believe the plan is change the gem name to calabash-ios in version 1.0.

Related

What will happen to rails app if I delete rvm?

I'm working on making my first very simple rails app, and I think I'm running into trouble because I have both rvm and rbenv installed.
I'm not actually sure if it's related to that, but I thought it might be --
I'm trying to run the command: sudo rake gems:install
and I'm getting this error message:
Could not find rake-11.1.1 in any of the sources
I ran bundle update rake and bundle install, and when I write 'which rake' - I get this: (which is why I thought it might be related to the fact that I have both rvm and rbenv included in my bash_profile)
/.rvm/gems/ruby-2.1.2/bin/rake
If this is the issue --- what will happen if I uninstall rvm? I don't really understand what it does well enough to understand what it will do to my existing code.
Thanks!
rvm is a great toolset for managing multiple ruby versions. I think of it like a tackle box for fishing: You've got different ruby versions, 1.9.3, 2.0.0, 2.2.3, etc. like the layers on the tackle box. rvm keeps a different directory for each version of ruby you have installed.
If you rvm use 2.2.3 you're telling your shell to point to ~/.rvm/rubies/ruby-2.2.3/bin/ruby (check which ruby to be sure).
If you rvm use system and then which ruby you'll see /usr/local/bin/ruby, or the system-installed version
You can put different gems (tackle/bait/tools) in each one. This is immensely useful if you're developing on multiple ruby apps/gems at the same time.
If you rvm implode you'll clean all the .rvm/ruby installs out of your system. This is a good, safe way to keep your system ruby untainted, which is more of a hassle to reinstall.
Go ahead and try reinstalling rvm and bundle-installing.

Redmine BitNami 'DL is deprecated, please use Fiddle'

(This question is not duplicated, already asked question is for Ruby)
Actually I am trying to install Redmin on windows.
to achieve this I am using Bitnami, and following these installation instructions
easyredmine
I have reached to step 4 where I have to run bundle command but I am getting error
DL is deprecated, please use Fiddle
Now how can I override this and what I am missing?
I was using ruby two versions, 1.9 and later install 2.0. I was assuming I am using 2.0 but when I check I was using 1.9 so 2.0 solve my problem.
Thanks you all

Rails 4.1.0.beta1 upgrade gives me undefined local variable or method `generated_feature_methods'

That is from lane with accepts_nested_attributes_for.
Rails 4.0.2 is fine, there are some changes with nested attributes?
This issue can be caused by an outdated version of the protected_attributes gem. If you are using protected_attributes, upgrading to >= 1.0.6 should fix the issue.
See: https://github.com/rails/protected_attributes/issues/29

handlebar precompile version error in Ember rc5

I'm upgrading to Ember rc5 from rc3, but I'm getting the following error:
Uncaught Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (>= 1.0.0-rc.4) or downgrade your runtime to an older version (== 1.0.0-rc.3)
Here are the relevant lines in my gemfile, taken straight from the ember-rails README (except pulling the gem from git... it gives the same error whether I include that or not)
gem 'ember-rails', git: 'https://github.com/emberjs/ember-rails.git'
gem 'ember-source', '1.0.0.rc5'
gem 'handlebars-source', '1.0.0.rc4'
I'm using rails 3.2
I know this problem has come up before, but none of the solutions I've found have made a difference. Things that haven't worked:
deleting precompiled assets
rake tmp:clear
making sure my javascrcipt load order is jquery, then handlebars, then ember
restarting the server
threatening the compiler
giving up hope and watching Buffy reruns
trying all of those in conjunction, in every imaginable order
Simple and definitive answers are best, of course, but I'd also be glad for hints on what I can study to figure this out on my own. I don't know where to start.
For now, ensure your Gemfile is using the edge version:
gem 'ember-rails', :git => 'git://github.com/emberjs/ember-rails.git'
gem 'ember-source', '1.0.0.rc5'
gem 'handlebars-source', '1.0.0.rc4'
A new version of the gem should be released to resolve the issue soon. This fixed the problem for me.

EventMachine gem workaround causes missing dll file ruby error, Windows 7

Upon cloning my first Rails 3.1.1 app, my first bundle install choked on the eventmachine 0.12.10 gem. (I'm running Windows 7 32 bit)
I'm also using gem 'thin' as well.
I found this post that had the same problem.
Which version of eventmachine is able to work in windows?
Which I integrated with this line in my gemfile:
gem "eventmachine", ">= 1.0.0.beta"
That allowed the bundle install to run but when I start the rails server I get a Ruby popup with the header ruby.exe - System Error and the text
The program can't start because libgcc_s_sjlj-1.dll is missing from your computer. Try reinstalling the program to fix this problem.
After I click OK I get this message in the console
Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
followed by a long stack trace (request to see if you think this will help).
I see that EventMachine gem requires a C++ compiler. I reinstalled MinGW on my 32 bit Windows 7 machine and I added MinGW\bin to my PATH variable.
But when I look into that bin folder, the file libgcc_s_sjlj-1.dll isn't there and the same error message persists. I found this thread about the lack of that folder from 2009 but I'm not really sure what to do about it.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539033
Thanks for any help you can give me.
I solved this problem by adding
require "em/pure_ruby"
in the config/application.rb
Hope this could help.
Add this to your gem file
gem 'eventmachine', '1.0.0.beta.4.1'
Also note that if you switch back to a unix based OS, you will have to use 1.0.0.beta.4.
This is probably because eventmachine is dynamically linked to the mingw dlls.
You can:
require 'devkit'
on the top of your script. This will temporarily enhance your path with the path to the mingw devkit.
Source