how to get typesafe-activator 1.3.6 on mac [duplicate] - scala

I am trying to install the typesafe activator (scala, AKKA, play framework, activator)
I have Yosemite OSX
My bash is Oh my ZSH
I already have JDK 1.7, installed and exported
I downloaded and unzipped the file "typesafe-activator-1.2.10-minimal". Finally I put the export path on my ~/.zshrc
but when I type activator on the terminal it prints that cant find the file
thank you

get HomeBrew.
play documentation says this :
Play install on mac
But there have been some changes to that. Now you have to do this.
Try this:
brew install typesafe-activator
And then use activator command to start it

I made a big mistake, In the ~/.zshrc where I should put
export PATH=$PATH:/relativePath/to/activator
I added the executable file to the path. I post this answer in case is helpful for someone else.

For people like me, who are reading this in 2019 (or later) and are unable to find activator recipee in homebrew, be informed that activator has been decommissioned
Good news is, it's fairly simple to create new projects (including templates for play, akka etc.) with sbt new command and Giter8 templates.

Open terminal and follow the below steps,
mkdir ~/bin
ln -s <path to your play home>/activator ~/bin
echo "export PATH=~/bin:$PATH" >> ~/.bashrc
. ~/.bashrc

These days, in 2020, it seems Activator isn't available from Homebrew anymore?
But old Activator releases remain downloadable, from e.g. https://downloads.typesafe.com/typesafe-activator/1.3.6/typesafe-activator-1.3.6.zip. (I assume other version numbers work as well.)

export PATH=$PATH:/Users/XXX/XXX/activator-dist-1.3.12/bin

Related

Stuck on SEDSED

I am trying to use SEDSED by Aurelio Jargas. I am running Cygwin. I have installed the latest version of Python and modified the path. I downloaded the SEDSED source code and it has a PY extension. Afterwards, I am a bit lost as to what needs to be done. I have checked around without much luck. Hence, I thought I would post my question online. Any guidance / help would be appreciated. Thank you.
cd to the same directory as sedsed.py then run:
chmod +x ./sedsed.py
mv ./sedsed.py /usr/local/bin/sedsed
Then you can run it from the command line with just:
prompt$ sedsed
also you say you have the latest version of Python. You'll need Python 2.x not Python 3.x the latest compatible version is Python 2.7.3 which can be installed through the Cygwin setup

CanĀ“t add less-compiler lessc on Netbeans 7.4

At first I downloaded Less from GitHub and saved the folder on my disk. After that, I tried to locate the compiler (file lessc) in my Netbeans IDE (7.4 Beta). After that, I got the following Error-Message:
I'm not sure if Less compiler can work without NodeJS. So I would do following:
install NodeJS (nodejs.org)
install less compiler using npm
npm install -g less
then NetBeans should find it, if not, you need to specify path to lessc.cmd, e.g.
C:\Users\lada\AppData\Roaming\npm\lessc.cmd
to find where is your lessc.cmd, run following in command line
where lessc.cmd
The lessc (without cmd) is for Linux and Mac OSX
I downloaded lessc from here:
https://github.com/duncansmart/less.js-windows
unzipped the zip-file and copied all files to C:\bin\lessc but you can copy it anywhere you like.
Then just point Netbeans to that folder and lessc.cmd and it should work.
Try:
Install nodejs
Install less in nodejs "cmd: npm install less"
less path netbeans: C:\nodejs\node_modules.bin\lessc.cmd

how to uninstall doxygen using make file on Ubuntu (12.04)?

I am using Ubuntu 12.04. I have installed doxygen 1.8.3.1 using make install.
I would like to uninstall the doxygen built by make, but I don't find any way to do it using make (uninstall or clean...).
In the Makefile there is no reference to uninstall it the software. :(
Unfortunately I can't use the sudo apt-get remove doxygen because it wasn't an installed. :(
I don't find anything related on the internet.
Can anyone help me, please?
Thank you in advance,
Fabiola
There is no "uninstall" target. You need to do a "rm" be hand. If you used the standard prefix path "/usr/local" then
rm /usr/local/bin/doxygen
rm /usr/local/man/man.1/doxygen.1
(more if you install the docs are wizard). Depend on the user used for install, you need sudo to do it.
I know this question is old, but since it is the first result in google I would like to share another way of uninstalling Doxygen built from source. In the build directory where you've ran make there should by a file name install_manifest.txt. That file contains paths to files that were installed using make install command. All you need to do is to run the following command:
sudo xargs rm < install_manifest.txt
Of course this assumes that you've kept the build directory or at least the install_manifest.txt file. If not you need to remove the files by hand as somebody already suggested.

How to install a plugin using JRuby?

I'm trying to install the jQuery Grid Rails Plugin. I'm using JRuby 1.7.0. I tried this command with no luck:
jruby -S plugin install git://github.com/ahe/2dc_jqgrid.git
rails plugin install git://github.com/ahe/2dc_jqgrid.git
And some others...
I know that some commands change for JRuby. Commonly I prepend jruby -S to the command but it's not working with plugin install. Any suggestion?
Regards.
Problem solved, I was executing the command jruby -S plugin install git://github.com/ahe/2dc_jqgrid.git
The error message says:
jruby: No such **file or directory** -- plugin (LoadError)
As you may know there is a rails file under the ../script folder, since the error says No such file or directory I thought of pointing jruby into the right directory and file:
jruby script/rails plugin install git://github.com/ahe/2dc_jqgrid.git
That way jruby knows where is the script that I need. This should work the same way for the other rails commands as generate and server.

Installing cocos2d 2.0 XCode templates

I'm trying to instal the cocos2d 2.0 XCode 4 templates but I keep getting errors when running the install script. I've tried to manually copy the templates but when I try to compile my project, it gives me a bunch of errors. Can anyone help?
Here are the errors that the install script throws at me:
http://pastebin.com/ZdmAxwef
Any help is greatly appreciated!
Thanks!
You probably install the cocos2d 1.x templates using root. Since installing as root isn't supported anymore, you first have to chown them back to your user.
There are three things you can try:
First, make sure you are running install-templates.sh as sudo
cd *location of cocos2d-2.0 folder*
sudo ./install-templates.sh -u -f
where -f forces the installation
Second, you may need to change the install-templates.sh script to install to a different location (try both your user and directly to the Machintosh HD)
Third, (which is what i often have done in the past) is copy the folders over to the correct directory (or at least make the directories the mkdir are failing on and try again)
I followed these exact instructions
cd /src/cocos2d-iphone-2.0/
./install-templates.sh -f
which i found here http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:migrate_to_v2.0
side note- on my mac hard drive "Macintosh HD" i created a folder src and copied the cocos2d-iphone-2.0 folder in it. and im running mountain lion and Xcode 4.4
this worked perfectly for me.
hope this helps
This is many years ago
The Solution is simple now, you know longer need to do any of this just.
install the latest version of Cocos2D from
cocos2d-swift.org
it will install everything automatically including the templates. just start a new Xcode project and it just be there in the template options