| View previous topic :: View next topic |
| Author |
Message |
dodtsair
Joined: 28 Sep 2010 Posts: 1
|
Posted: Wed Jul 20, 2011 4:17 pm Post subject: Netbeans 7.0 fails to detect rails installed via apt on ubuntu |
|
|
I want to know how Netbeans detects the rails installation. I have Netbeans 7.0 installed on Ubuntu 11.04. Netbeans properly detects both the jruby, and ruby installations but when I try to complete the project creation it tells me ""Rails is not installed"
How do I make netbeans properly detect the existing rails installation? |
|
| Back to top |
|
 |
chesaro
Joined: 02 Oct 2011 Posts: 2
|
Posted: Sun Oct 02, 2011 7:12 am Post subject: Sadly, the same |
|
|
Hi there, i'm actually having the same problems with the 7.0.1 version, and to add some extra, the plugin disapeared from the plugin menu (so i can't uninstall).
I tried to install the rails framework from the ruby platform menu, but it ask for a password i just don't know, i also tried to execute as root user and it just doesn't do anything.
I also tried with previous versions and is the same (6.9, 6.7, 6.5), i'm starting to think that is the linux version that has the problem, i'll wait to try it again with ubuntu 11.10  |
|
| Back to top |
|
 |
chesaro
Joined: 02 Oct 2011 Posts: 2
|
Posted: Thu Nov 10, 2011 4:57 am Post subject: I think i found a sollution |
|
|
Hello there, i've already try to use the RoR plugin in ubuntu 11.10 and it's obviously the same, but i think i found the answer in this page http://hameedullah.com/how-to-install-rails-21-on-ubuntu-in-5-steps.html
i think the problem is how gems and rails is installed, this tutorial tells you how to do it just using the gem command, i haven't tried already, but i'm going to do it on a VM to avoid a system crash (i suggest to do the same), this because on the first try a warning message apeared, hope its of any use, i'll post back when i tried on the vm |
|
| Back to top |
|
 |
JoseTlaseca
Joined: 25 Nov 2011 Posts: 1
|
Posted: Fri Nov 25, 2011 8:02 pm Post subject: This worked for me |
|
|
I am on a Debian Squeeze system.
I have installed Ruby with aptitude, Rubygems from sources and rails with
in past when i tried to create a new RoR project netbeans said me a message "rails is not installed".
Here is my solution:
1 - In netbeans go to Tools -> Ruby platforms.
Here i can see that netbeans autodetected my ruby installation correctly, but my gem folder was not correct, thats the problem.
2 - In "Gem home" clic on Browse button and navigate to your gem folder, you can find it with the next command in a terminal:
my output to the above command was:
/usr/lib/ruby/gems/1.8/gems/railties-3.1.2/lib/rails.rb
So when i have clicked Browse to find my gem home i have selected /usr/lib/ruby/gems/1.8
3 - In "Gem path" you need to add the same folder as you did for the Gem home.
Thats all.
I hope this help you.
Regards |
|
| Back to top |
|
 |
jjohn8171
Joined: 03 Oct 2011 Posts: 6
|
Posted: Fri Mar 16, 2012 4:42 am Post subject: |
|
|
I tried to install the rails framework from the ruby platform menu, but it ask for a password i just don't know, i also tried to execute as root user and it just doesn't do anything.
_____________________
euro pharmacies |
|
| Back to top |
|
 |
junesongwang
Joined: 10 Apr 2012 Posts: 1
|
|
| Back to top |
|
 |
josephmo
Joined: 31 Aug 2009 Posts: 3
|
Posted: Wed Apr 11, 2012 8:00 am Post subject: Netbeans 7.xx on a MAC with Ruby and RVM (Ruby Version Manager): Rails Not Found error message |
|
|
I have Netbeans 7.xx installed on my MAC. I installed the Ruby plugin and was trying to create a project. Everything works fine, until the very last step, where I see the message: Rails is not installed
To fix the problem, I started out by figuring out the path to the default rails folder:
The response is:
/Users/joseph/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.3/lib/rails.rb
Which means that the rails path is:
/Users/joseph/.rvm/gems/ruby-1.9.3-p125/gems/
The real issue here is that Netbeans cannot see the folder .rvm (I have rvm, the Ruby Version Manager installed) because it's a hidden folder. To fix this problem, I opened a terminal and created a symbolic link as follows:
| Code: | | ln -s .rvm/gems/ruby-1.9.3-p125/gems/ ./gems_path |
Then I did the following:
From Netbeans: Tools -> Ruby Gems -> Gem Home -> Browse
In the dialog box, I navigated to /Users/joseph and selected gems_path
PS: I reported the inability to see a hidden folder as a bug[/i] |
|
| Back to top |
|
 |
l.hauri
Joined: 14 Jun 2012 Posts: 2
|
Posted: Tue Jul 10, 2012 7:12 am Post subject: |
|
|
| For me it will be easy to follow your tips. I am sure that in this way I will learn how to do it fast and simple. yacht charter |
|
| Back to top |
|
 |
kyliejamez
Joined: 05 Jul 2012 Posts: 11
|
Posted: Thu Jul 19, 2012 8:45 am Post subject: |
|
|
| Thanks for share useful information. |
|
| Back to top |
|
 |
|