Problem with Aptana Studio & XULRunner 8.1 - ruby-on-rails

I recently installed Ubuntu Jaunty and I'm encountering a problem when I try to run Aptana Studio under it. Any interaction with the internal browser crashes the system. I checked the log and after some Googling came to the conclusion that it was crashing due to the incompatibilty with XULRunner 9.0 which is installed on my system. I followed a couple of solutions I came across and installed XULRunner 8.1 (to a different directory) and pointed the MOZILLA_FIVE_HOME enviornmental variable to that particular version, as suggested.
export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-8.1
However, the problem persists! When I cd into the xulrunner-8.1 directory and perform a ./xulrunner -v it still lists it as being version 9! I can't uninstall 9.x as several other major packages depend on it, one of which is the version of Gnome I have installed.
This is my first time using Linux since I played around with RedHat 7.2 waybackwhen, so I'm probably forgetting to do something obvious. Can anyone help me out?

I run Aptana on Ubuntu Jaunty as well and met with similar problems as yourself. This thread solved my problem, and I always launch my Aptana from a startup script. Particularly, the post by 'stevewalker'. Just to post his startup script here:-
#!/bin/sh
MOZILLA_FIVE_HOME=/usr/lib/xulrunner
if [ $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME
fi
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
/usr/local/aptana/AptanaStudio $#
Hope this helps! =)

Related

PyScripter always says: "Python could not be properly initialized. We must quit."

I've googled for a solution, and based on that, let me report a few details:
I've tried 32-bit PyScripter-v2.6.0-Setup.exe with 32-bit python-3.6.1.exe; and 64-bit PyScripter-v2.6.0-x64-Setup.exe with 64-bit python-3.6.1-amd64-webinstall.exe.
I'm on a 64-bit Windows 10 machine.
I uninstalled other versions of Python on the machine.
Tried unzipping rpyc in the \Lib\ folder, as someone suggested that here.
What else should I be looking at?
Here is a tested Solution
Remove old PyScripter
Install Python from Python website. I installed mine from:
http://www.python.org/ftp/python/3.3.2/python-3.3.2.amd64.msi (and it worked)
Now install PyScripter-v2.6.0-x64-Setup.exe from https://sourceforge.net/projects/pyscripter/files/
This should solve the problem.
I got this solution from https: //github.com/pyscripter/pyscripter/issues/715
You are using an old version of Pyscripter. Version 3.4 from https://sourceforge.net/projects/pyscripter/ provides support for all released python versions, virtual environments, conda distibutions and the ability to switch between them without exiting Pyscripter.

ASP.NET 5 and Yeoman genetaror issue

First of all I looked into [this][1] post for possible workaround but unfortunately there is none.
My issue is somewhat closer but steps I went through are different so I decided to put up my question in a new thread.
My requirements were:
Installing ASP.NET 5 but I did not want to install full VS 2015 rather I went for DNVM (Dot Net Version Manager) and DNX (NET Execution Environment). This post says we can install from Command Line tool so I used this.
Installing Code for Visual Studio which I did
Installing a aspnet-generator using yo which I did using the following command: npm install -g yo generator-aspnet but ended up with some error messages. Please see screenshot below:
Even I got above errors I went on and ran yo aspnet which was supposed to give me choice of what type of application I want to create etc. But here I ended up with errors again. Please see screenshot below:
I googled a lot but nothing looked suitable or closer to my issue. I don't want to play with Windows Registry.
I am completely screwed up with this problem :( Somebody please show me the right path and help me out of this stand-still situation.
Thank you
This is unfortunately a bug with npm. Here is the usual troubleshoot:
Make sure you're on the latest npm version
Delete the node_modules folders and retry installation
If this doesn't fix it, then you should open an issue on the npm bug tracker.

Unable to find ant program

I am an experienced (but retired) Windows software developer, with more years experience than I care to admit, developing in C++, C#, VB and Java. I therefore decided to have a crack at Android development. My development machine is a Windows 7 box. My IDE of choice would be Microsoft Visual Studio but, for now, I am happy doing hand editing and launching tools from the command line.
I started by downloading the Android SDK and various additional items it suggested. I then started working my way through the tutorial at developer.android.com/training/basics/firstapp. Android list targets gave me a couple of choices (Android 4.2.2 and Google APIs:17). I then did Android create project from the command line and that appeared to do its stuff, creating MyFirstApp in my development folder. I then ran Android avd and created an emulator. I also added the android SDK's tools and platform-tools to my path. So far so good.
I fell at the next hurdle. The tutorial told me to change to the root folder of my project and run ant debug. At this point, Windows reports:
'ant' is not recognized as an internal or external command,
operable program or batch file.
I've searched around for ant.exe without success. Did I miss installing something or did I miss a vital step in the set-up? Any advice for this very green newbie would be greatly appreciated.
There is no ant.exe. Only ant.bat. Ant is a Java build tool.
If it comes with the Android SDK, make sure its bin directory is in your PATH environment variable. Otherwise, download it (from [http://ant.apache.org][1]), and follow the installation instructions on the web site.
Normally, simply unzipping it, putting its bin directory in the PATH envieonment variable, and setting a JAVA_HOME environment variable that points to your preferred JDK directory is sufficient.

Aptana project types not available

I have recently installed the Aptana plugin for Eclipse as I wish to learn Ruby and Ruby on Rails, it doesn't seem to have changed anything. Usually when I install a plugin of the sort, there will be new project types under the "New Project" menu, but none appeared. I checked tutorials online and they suggest that there should be new project types as seen in the image below, taken from a tutorial.
Instead, I see the same options I did before.
I wondered if the plugin didn't install, but when I try to install it again, It says it's already installed. I am using Eclipse Juno Service Release 2 with a 64-bit Windows 7 operating system and the version of the plugin from the URL given on the Aptana website (http://download.aptana.com/studio3/plugin/install). Any help would be much appreciated.
I don't know why that's happening. Here's a suggestion for how to get around it.
You might be better off installing and running the standalone Aptana Studio product. It would be a separate installation on your desktop, and thus wouldn't have the same settings as any Eclipse installation you already had, and would be more space on your hard drive. But probably there isn't much you would share between Ruby/Rails development and other development, and it's not that much space.
I've done it both ways - installed Aptana into an Eclipse I've already got, and installed the standalone version - and now I would only do standalone.
I don't know what was wrong in the first place, but after I installed the Aptana plugin, I installed the PyDev plugin. I think this removed the Aptana plugin because of conflicting dependencies (I don't know why it wouldn't tell me, though). I tried installing the Aptana plugin again and it told me there was a conflicting dependency with the PyDev plugin, so I uninstalled it and reinstalled the Aptana plugin. It works now.

Rhostudio path Eclipse Mac Lion 10.7.3

I have a problem with Rhostudio, Mac OS X 10.7.3 Lion and Ecplise.
Rhostudio install as app as a plugin but it does not work.
If I create the project is blank. In the preferences tells me can not find the path of Rhodes.
On my Mac development in Ruby on Rails with Aptana Studio 3. It works perfectly and use Ruby 1.9.3 and RVM.
The gems are installed correctly.
What is my problem? What can I do?
I had the same issue on Mac OS X Lion 10.7.3; the project is blank because Rhostudio is not properly installed, the installation seems to had gone through but it failed.
I followed the instructions from here http://docs.rhomobile.com/rhostudio.tutorial#installing-rhostudio but when I ran the install gems script, a 'Please install building tools' message was coming out on the terminal. The script fails because it looks for the developer folder and does not find it, you can still run Rhostudio, but it doesn’t work properly. There are several things you could do, like installing a version of Xcode that would create the developer folder, but you don’t really need that.
This is what I did:
1. I cleaned all previous installations of Rhostudio.
I installed the latest Xcode, the latest version of Xcode does not create the developer folder, as you can see here: https://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_4_3.html#//apple_ref/doc/uid/1006-SW1
I then installed the Command-Line Tools; these are now optional and the instructions are on the same link of step two.
I repeated the basic installation steps from the tutorial and when it was time to run the install gems script I opened it with a text editor and ran every command manually from the command line, I skipped the validations that search for the developer folder and the Java installation. The developer folder doesn’t have to be there anymore but you must have Java installed.
Once I finished running every command the installation was complete. If you create a new project this time the folder should not be empty.
I configured Rhostudio according to the instructions and the framework I needed to work on and everything went smooth.
I hope that helps, and note that whenever you tried installing by running the Install Gems script the error was coming out to the terminal, based on that message you’ll find if something else is happening. The two initial validations can only output the error messages 'Please install building tools' or 'Please install java development kit'.

Resources