Gem home and gem path by default

View: New views
10 Messages — Rating Filter:   Alert me  

Gem home and gem path by default

by jorgegetafe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Gem home and gem path by default

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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:

> 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.
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Gem home and gem path by default

by jorgegetafe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Gem home and gem path by default

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:

> 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
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Gem home and gem path by default

by jorgegetafe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I see the gems in gems manger but not in the app running :-(






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Gem home and gem path by default

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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:

> I see the gems in gems manger but not in the app running :-(
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Gem home and gem path by default

by jorgegetafe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Gem home and gem path by default

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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:

> 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.
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Gem home and gem path by default

by jorgegetafe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


yes i did it.



I fix it installing all the gems in a new folder and giving it to netbeans.

Thanks.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Gem home and gem path by default

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


OK, good to hear you've solved the problem!

Erno

jorgegetafe wrote:

> yes i did it.
>
>
>
> I fix it installing all the gems in a new folder and giving it to netbeans.
>
> Thanks.
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...