Terminal window in eclipse is blank. Ruby on Rails - ruby-on-rails

When you install and configure RoR on windows and eclipse(Aptana plugin) you would see the terminal window in the eclipse perspective where you would type in various rails/heroku/git commands. One day the window gone blank. I have tried re-installing everything from scratch, looking at PATH variable, installing things in different orders to no avail(The standalone cmd+rails terminal works fine though). Terminal window is just blank. I have been developing using RoR for a semester now with no issues. I have also looked on google but found nothing that describes my problem. If anyone has experienced cold help me with some fresh ideas that would be great! Ihave also looked at this solution but it didnt fix my problem.. aptana studio terminal setup on windows

SOLVED. Removed git folder from the directory where I was working in (hidden folder) terminal popped back up.

Related

iisnode 7.x (64x) full Setup install fails with a message saying a script could not be run

As a result of a question I wrote a little earlier I person was kind enough to write an answer. He suggested installing iisnode to fix a problem where node.js was in the path but docker couldnt find it.. However, on his suggestion I downloaded iisnode for iis 7.x(x64) and proceeded to run it... and with the luck I am having I got the following error..
There was a problem with this Windows Install package. A script required for this install to complete could not be run. Contact your support personnel or package vendor.
I have no idea how to solve this.. any ideas.. I have entered docker for this as I suspect this problem has occured for others when they tried to run a dotnet core SPA project...
Sorry my bad English!
I had this issue while i was working with "Plesk" but maybe my solution works for you or others.
First you should go to "C:\Windows\System32\inetsrv\config".
Make a backup of "applicationHost.config" somewhere.
Then remove every line that contains "iisnode" in that file.
Then try to install "iisnode" again. if it does not work, restart your OS and try again.
If it does not work again, restore your backup and restart your OS and i don't know how you can fix it, Sorry :((

Ruby On Rails Installation Mac OS X Bundler GemFileNotFound

I'm using Mac OS X Sierra and following Daniel's Setup Article to install Ruby on Rails. All goes well until I get try to confirm the Rails version, I get errors saying it can't locate several files. Here's a screenshot of the console output for the last couple of steps:
After the first attempt, I imploded rvm, removed all traces from .bashrc, .bash_profile, and .profile, and started from the beginning. I hit the same issue at the same point in the process. If any further information would be useful, please let me know and I'll be glad to modify. Just in case it has something to do with $PATH, I'll put the echo $PATH output below:
/Users/john/.rvm/gems/ruby-2.4.1#rails5.1/bin:/Users/john/.rvm/gems/ruby-2.4.1#global/bin:/Users/john/.rvm/rubies/ruby-2.4.1/bin:/Users/john/.rvm/bin:/usr/local/bin:/usr/bin:/usr/local:/bin:/usr/local/sbin:/sbin:/Users/john/bin:/usr/local/mysql/bin:/usr/local/opt/openssl/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin
Thanks in advance for any suggestions.
[edit] Not having had any replies and having spent an entire day trying to get it running locally, I decided to try an online environment with cloud9. I was up and running on cloud9 in 15 minutes without any issues, and that includes creating the account. I would still like to know if anyone has any ideas about the rvm local version, so I'll leave the question for now. [/edit]

Eclipse freezes when erlide tries to run

I'm just getting started with erlide, using a fresh install of Eclipse Juno and erlide. I've used erlang on my system (64-bit Fedora) from the command-line, so I'm just trying to make the switch. I started with R15B, and have upgraded to R15B02 (built from source) as suggested by another SO post. If I right-click on a .erl file and pick Run As..Erlang Application, the IDE freezes and I have to kill it. If I try to run from Run Configurations and specify the module and function, it will start to execute, but never progresses beyond 27%. This is on a simple function that runs instantaneously on the command line.
Please try with the latest nightly from http://erlide.org/update_nightly, we did some work about similar issues, I hope they will solve yours too.
It would help to see the log from /erlide.log.
You can also open the launch configuration from run->configurations and see if there is some weird value in any of the fields in the "runtime" tab, most probably the node host name.
[I will be away for a week or so, so I can't answer very soon. Sorry about that.]
/Vlad

Installing RubyMine on Windows 7 persistent error: "Could not find "README" in any of your source paths."

I installed ruby 1.9.3 w/ rubyinstaller-1.9.3-p194.exe, and then installed RubyMine right after, as per directions:
http://www.jetbrains.com/ruby/quickstart/index.html
and
http://rubyinstaller.org/
I have git hub for windows already installed which I don't know if that could cause the problem.
I have also installed ruby and rails several times but I looked through the PATH environment variable for any no longer existing installations and removed them (after having already had this error) which didn't help.
Here are the settings I select in RubyMine.
The error message:
"C:\Ruby193\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:\Ruby193\bin/rails 3.2.6 new "D:/Program Files (x86)/Git/Rails App/asfasf" --skip-test-unit --javascript=jquery --skip --database=postgresql
exist D:/Program Files (x86)/Git/Rails App/asfasf
Could not find "README" in any of your source paths. Your current source paths are:
C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/generators/rails/app/templates
Process finished with exit code 1"
I apologize if I come across as angry / frustrated (I edited this several times to remove it) as I have been trying to get RubyMine to work on Windows 7 or Ubuntu 12.04 and neither have been successful.
Any advice would be greatly appreciated!
I continued searching through the web for information and remembered somewhere installing rails on windows previously that for some reasons files couldn't have spaces in them.
Long story short: make sure your path doesn't have spaces in the name because it breaks rubymine or rails or something along the way.
Changing my project folder to a destination with no spaces solved the problem.

Aptana 3 does not creates new project

When I try to create new rails project Aptana gves :
"Can't initialize a new Rails application within the directory of another, please change to a non-Rails direct
ory first."
error and also when I type ls it does not give current project folder content it gives something else. In addition when I open the Webrick for the ptoject it does not show my project instead it gives rails initial front page.
Do you see the error please help
The problem is not in Aptana Studio. I got a similar message after my manipulations with DevKit_mingw assembly, although before Aptana it works fine. In my case uninstalling Ruby, devKit and Aptana helped. Then I just install RailsInstaller + AptanaStudio. I hope my experience will help someone else.
If you're using Aptana in windows, and your workspace is C:\user\My Documents\Aptana Studio 3 Workspace. The problem is that the folder of your workspace is read-only. You should change the privileges in this folder for you can write into the folder of yours project.

Resources