the task `rubber:' does not exist - amazon-ec2

I am following Ryan Bates rubber and amazon ec2 episode and when running the following command I get an error:
$ cap rubber: create_staging
triggering load callbacks
* 2014-08-26 00:53:42 executing `rubber:init'
the task `rubber:' does not exist
I was able to run rubber vulcanize before without a problem. Any suggestions on how to fix this?
Thanks!

Stupid mistake, but I am answering here anyways.
I have an extra space in the command cap rubber: create_staging it should be cap rubber:create_staging

I also had this issue. I did direct insatallation using
gem install rubber
but then I added gem to Gemfile and it was started to run
gem 'rubber'

Related

Fastlane update breaks ruby

When I ran a fastlane script to build and upload an ionic app to Hockeyapp, I saw the following message:
# fastlane 2.105.2 is available. You are on 2.103.1.
# You should use the latest version.
# Please update using `bundle update fastlane`.
So I ran bundle update fastlane, which appeared to work fine, but when I tried running my fastlane script again, the following error appeared, which I've never seen before:
Non-system Ruby in use. This may cause packaging to fail.
If you use RVM, please run `rvm use system`.
If you use chruby, please run `chruby system`.
error: archive not found at path '/path-to-app/platforms/ios/appname.xcarchive'
** EXPORT FAILED **
I also saw an extra line appear in the build settings output, which has never been there before:
User defaults from command line:
IDEArchivePathOverride = /Users/debbiefigg/Projects/QuickNurse/quick-nurse-app/platforms/ios/Quick Nurse.xcarchive
I've spent hours going round in circles trying to figure out how to solve this, but have drawn a blank.
Can anyone suggest why this happened and how to solve it?

Why is Ruby giving an error "point is not on curve"?

When I run capistrano to deploy I get the following error.
cap aborted!
OpenSSL::PKey::EC::Point::Error: point is not on curve
I am using the latest versions of Capistrano, Ruby and Openssl.
The cause of the issue was that the ~/.ssh/known_hosts was corrupted. By deleting the file the problem was fixed.

heroku toolbelt command issues

I installed the Heroku Toolbelt following the instructions provided by RailsBridge's Installfest for Windows. I am running Windows 10 64-bit and the Command Prompt with Ruby and Rails provided by RailsBridge.
Each heroku command I attempt to input, be it 'version', 'login', or what have you, I get this:
heroku-cli: Adding dependencies... done
heroku-cli: Installing core plugins...Error reading plugin: heroku-cli addons.
Then I see a list of which plugins that there were reading errors for. The list is:
heroku-apps;
heroku-fork;
heroku-git;
heroku-local;
heroku-run;
heroku-status
Then:
ERROR: runtime error: invalid memory address or nil pointer dereference
Then it repeats this, adding dependencies, attempting to install core plugins, same reading plugin errors, but then after the runtime error runs again, it prints this:
! error getting commands pid 5052 exit 1
Previously, it was 'error getting commands pid 6912' or something like that. I looked around a bit and didn't see anything that specifically dealt with this, but I am sorry if I missed it before asking this question. I'm very new at this.
I would really appreciate any help or advice on how to correct this. I thank you very much ahead of time!
Edit: I now understand what pid is. Using another resource, I was told to check for the pid process in my task manager. I reran this process, got a different pid number, and searched for it in my task manager but to no avail. It isn't storing it.
I had the same problem and Heroku support team was quick to answer with:
can you delete ~/.heroku/heroku-cli and try again?
Next time you run a heroku command it will reinstall the toolbelt. Worked for me.
According to the support team it happened because:
It was a bug that was pushed yesterday we fixed this morning that some users ran into.
Good luck!

De Marzi's Neovigator

I am trying to use De Marzi's Neovigator
(https://github.com/maxdemarzi/neovigator)
and I'm not very successful with that.
I actually followed all the steps to install.
When I run the "neovigator.rb" file ("ruby neovigator.rb"), just nothing happens.
How do i run this, so i got the graph on a html page as a result.
Sry if I sound like I newbie, because I really am one in ruby.
Thanks a lot and Greetings
Schakron
I don't think you're supposed to run neovigator.rb. The instructions say to run rackup. I just went through the steps from the README and it's working
Keep in mind though that it's installing neo4j 1.9.4 which is a relatively old version considering how much neo4j has been developing over the last couple of years.
EDIT:
Posting instructions from the README here to make sure we're on the same page:
git clone git#github.com:maxdemarzi/neovigator.git
cd neovigator
bundle
rake neo4j:install
rake neo4j:start
rackup

Install macruby to specific directory?

Normally macruby wants to install to /usr/local via 'rake install'
I want it in another location. How do I do this?
Running rake -T gives the options (duh, stupid me)
It tells me
rake install sym_instdir=/some/place
Is the trick to install to another directory and this does in fact work.
EDIT: I spoke too soon.
This makes the symlinks, but there is the framework_instdir option as well, but changing that doesn't seem to make any difference...
$ DESTDIR = /some/place rake install
Look at the nightly built rake task for a more concrete example.
Matt

Resources