| View previous topic :: View next topic |
| Author |
Message |
jorgegetafe
Joined: 04 Sep 2009 Posts: 16
|
Posted: Fri Oct 09, 2009 9:23 am Post subject: Gem home and gem path by default |
|
|
Please, I need the gem home and gem path routes by default.
I have played with them and now netbeans doesn´t find the gems.
Thanks. |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Fri Oct 09, 2009 1:49 pm Post subject: Gem home and gem path by default |
|
|
Hello,
Do you mean for the bundled JRuby or? For it the default values are:
Gem Home: <netbeans_install_dir>/ruby2/jruby-1.3.1/lib/ruby/gems/1.8
Gem Path: <netbeans_install_dir>/ruby2/jruby-1.3.1/lib/ruby/gems/1.8
(the same as above)
Erno
jorgegetafe wrote:
| Quote: | Please, I need the gem home and gem path routes by default.
I have played with them and now netbeans doesn´t find the gems.
Thanks.
|
|
|
| Back to top |
|
 |
jorgegetafe
Joined: 04 Sep 2009 Posts: 16
|
Posted: Fri Oct 09, 2009 1:59 pm Post subject: |
|
|
The problem I´m having is that I have alrready installed the gems I need, but netbeans doesn´t find them, i´m sure is because of gem_home and/or gem_path.
This is my configuration, i´ts ok?
thanks |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Fri Oct 09, 2009 2:12 pm Post subject: Gem home and gem path by default |
|
|
That looks fine, but of course depends on what exactly is under those
folders. Is the problem that you can't see the gems in the Gem Manager
or that they are not found when running an app?
Erno
jorgegetafe wrote:
| Quote: | The problem I´m having is that I have alrready installed the gems I need, but netbeans doesn´t find them, i´m sure is because of gem_home and/or gem_path.
This is my configuration, i´ts ok?
[Image: http://img525.imageshack.us/img525/9047/estadoactual.png ] (http://img525.imageshack.us/i/estadoactual.png/)
thanks
|
|
|
| Back to top |
|
 |
jorgegetafe
Joined: 04 Sep 2009 Posts: 16
|
Posted: Fri Oct 09, 2009 2:27 pm Post subject: |
|
|
I see the gems in gems manger but not in the app running  |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Fri Oct 09, 2009 3:31 pm Post subject: Gem home and gem path by default |
|
|
I see, could you please post some example code that fails? Also, can you
double check that you require rubygems correctly and that you have the
correct platform (i.e. the one that has the gems you're trying to use)
set for the project?
Thanks,
Erno
jorgegetafe wrote:
| Quote: | I see the gems in gems manger but not in the app running :-(
|
|
|
| Back to top |
|
 |
jorgegetafe
Joined: 04 Sep 2009 Posts: 16
|
Posted: Tue Oct 13, 2009 7:33 am Post subject: |
|
|
With ruby manager gems i see the gems installed but when i run the app it says:
Missing these required gems:
webrat >= 0.4.3
You're running:
ruby 1.8.7.72 at /usr/bin/ruby1.8
rubygems 1.3.1 at /home/jorge/.gem/ruby/1.8/gems, /var/lib/gems/1.8/gems, /var/lib/gems/1.8
Run `rake gems:install` to install the missing gems. |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed Oct 14, 2009 9:52 am Post subject: Gem home and gem path by default |
|
|
I may be asking the obvious, but did you run 'rake install:gems' for the
app in question? Also, what does
gem search webrat
output when run from the command line?
Erno
jorgegetafe wrote:
| Quote: | With ruby manager gems i see the gems installed but when i run the app it says:
Missing these required gems:
webrat >= 0.4.3
You're running:
ruby 1.8.7.72 at /usr/bin/ruby1.8
rubygems 1.3.1 at /home/jorge/.gem/ruby/1.8/gems, /var/lib/gems/1.8/gems, /var/lib/gems/1.8
Run `rake gems:install` to install the missing gems.
|
|
|
| Back to top |
|
 |
jorgegetafe
Joined: 04 Sep 2009 Posts: 16
|
Posted: Wed Oct 14, 2009 11:21 am Post subject: |
|
|
yes i did it.
I fix it installing all the gems in a new folder and giving it to netbeans.
Thanks. |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed Oct 14, 2009 11:23 am Post subject: Gem home and gem path by default |
|
|
OK, good to hear you've solved the problem!
Erno
jorgegetafe wrote:
| Quote: | yes i did it.
I fix it installing all the gems in a new folder and giving it to netbeans.
Thanks.
|
|
|
| Back to top |
|
 |
|