I'm trying to upgrade ant to 1.8.1 via macports.
When I run live-check I get this:
apache-ant seems to have been updated (port version: 1.7.1, new version: 1.8.1)
but when i run port install it installs 1.7.1 and when I run upgrade it does nothing
Why use MacPorts? Ant is very simple to install yourself. Just download, extract somewhere (I usually use /opt/ant) and add to your $PATH.
Related
I am running Debian 10 (Buster) on my servers and CI builds. I am running MacOS Big Sur 11.6.4 on my MacBook Pro. I am developing a Ruby on Rails application.
My Debian servers are running libyaml 0.2.1. My Mac is running libyaml 0.2.5. (I ran puts YAML.libyaml_version in Ruby.)
libyaml 0.2.1 has a trailing whitespace bug that was fixed in 0.2.5. This is causing a CI build failure since I have a job that checks the formatting of a YAML file (i18n-tasks normalize.) When I run i18n-tasks normalize, the i18n YAML files are formatted differently on my Mac vs the Debian linux container.
What would be the easiest solution? Either:
Downgrade my brew installation of libyaml to 0.2.1
Upgrade my Debian installation of libyaml to 0.2.5
Either one works, just so that my Mac development environment is consistent with my CI builds and servers. (I don't actually care about the trailing whitespace bug as long as it's consistent for both development and CI.)
I can't find an easy method for either option. Is there a libyaml 0.2.5 debian package (.deb file) that I can just download and install?
I've upgraded my Ruby version from 2.5.x to 2.6.x (and uninstall the 2.5.x version).
And now I'm getting the error upon bundle install (for my existing Rails project):
bash: /c/Ruby25-x64/bin/bundle: C:/Ruby25-x64/bin/ruby.exe^M: bad interpreter: No such file or directory
How can I tell the bundler to use the newer Ruby version?
OS Windows 10.
Ok, I've found a solution.
First of all, do not use git bash terminal and use the cmd.exe instead. That gave me info on why bundle install doesn't work (something's wrong with 'mimemagic' gem).
I've run bundle update and it installed all necessary gems and now everything works fine.
Im trying to build an automation script for my environment to install the newest version of cytoscape and uninstall its older version, Does cytoscape have a command line prompt to silently uninstall that older version?
Found my answer;
use the install4j -q option with the uninstaller to uninstall silently
I have a RoR (4.1) app that I'm trying to run using Passenger & Nginx. I want to do the bundling on my CI server (jenkins), but when I copy the files across I get the dreaded:
Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
I have therubyracer in my Gemfile, and I can see it in my $GEM_HOME (./vendor/bundle/ruby/1.9.1/gems/). Obviously I can bundle install on the web server and fix the problem, but that's what I'm trying to avoid.
I've tried using "bundle pack --all", with no effect, but I'm currently using "bundle install --deployment" on the build server and then zipping up the whole folder and moving it to the web server. The build server is the same distro as the web server (Debian 7 x64).
Does anyone have any idea what I'm missing? Is it possible to get this working without running bundle install locally?
Bundler version 1.7.3
I had this problem and this is what I found:
You need a javascript runtime library such as nodejs to solve this problem.
For Ubuntu users , try the following command in the terminal:
sudo apt-get install nodejs
For installing nodejs on systems using yum, try the following in the terminal:
yum -y install nodejs
Hope it helps :)
I installed PhantomJS today and got this error trying to use it:
PhantomJS version 1.4.0
is too old. You must use at least version 1.7.0
(Capybara::Poltergeist::PhantomJSTooOld)
How can I install the newer version?
I can get the newer version (1.7) at: http://phantomjs.org/download.html
Once I've downloaded it though how do I actually install it?
Are you using Linux or OS X? You'll need to either build from source or install an updated PhantomJS package. You can also download the binaries and install over the system installed PhantomJS. Type "which phantomjs" and it should show the location of PhantomJS.
If you're using homebrew, just:
brew upgrade phantomjs
I had to solve this problem yesterday, it required me updating brew, telling brew to uninstall phantomJS, then updating xcode, then installing the latest xcode command utilities, then using brew to re-install phantomjs. Finally that got it to pull in the latest version. You might try this (mac):
brew update
brew uninstall phantomjs
brew doctor (follow the fixes it recommends if any... Mine was updating xcode)
brew install phantomjs
At that point it should grab the latest.
Good luck!