FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problem with webrick server on netbeans 6.5

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
babiben



Joined: 07 Apr 2009
Posts: 7

PostPosted: Tue Apr 07, 2009 10:25 am    Post subject: Problem with webrick server on netbeans 6.5 Reply with quote

Hello,

I have a problem with Webrick server in my application (with Netbeans 6.5 ide). It is impossible to start him. I have this error message :

=> Booting WEBrick
=> Rails 2.3.2 application starting on http://0.0.0.0:3000
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:269:in `require_frameworks': no such file to load -- openssl (RuntimeError)
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:134:in `process'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in `send'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in `run'
from /home/session/Documents/licproab/config/environment.rb:9
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:84
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from script/server:3

Do you have a solution ?

thanks
Surprised


Last edited by babiben on Tue Apr 07, 2009 3:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hassan Schroeder
Posted via mailing list.





PostPosted: Tue Apr 07, 2009 2:46 pm    Post subject: Problem with webrick server on netbeans 6.5 Reply with quote

On Tue, Apr 7, 2009 at 3:26 AM, babiben <address-removed> wrote:

Quote:
I have a problem with Webrick server in my application (with Netbeans 6.5 ide). It is impossible to start him. I have this error message :

Quote:
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:269:in `require_frameworks': no such file to load -- openssl (RuntimeError)

So, to clarify, are you saying you've installed openssl and you still
get this error?

--
Hassan Schroeder ------------------------ address-removed
Back to top
babiben



Joined: 07 Apr 2009
Posts: 7

PostPosted: Tue Apr 07, 2009 3:23 pm    Post subject: Reply with quote

I have installed open ssl and i don't get this error. But, i have a new error message Confused

Code:
/home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/string/xchar.rb:6: undefined method `fast_xs' for class `String' (NameError)
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/string/xchar.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/string.rb:9
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/string.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:3
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:1:in `each'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:1
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support.rb:55
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:1
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from script/server:3


Before the first error, my application run without problem although the message "error open ssl..." Exclamation I don't understand ?
Back to top
View user's profile Send private message
Hassan Schroeder
Posted via mailing list.





PostPosted: Tue Apr 07, 2009 3:32 pm    Post subject: Problem with webrick server on netbeans 6.5 Reply with quote

On Tue, Apr 7, 2009 at 8:23 AM, babiben <address-removed> wrote:
Quote:

I have installed open ssl and i don't get this error. But, i have a new error message
Back to top
babiben



Joined: 07 Apr 2009
Posts: 7

PostPosted: Tue Apr 07, 2009 3:45 pm    Post subject: Reply with quote

Why do you repeat my message ?

Firstly, when i try to start my application, i obtain the message "in `require_frameworks': no such file to load -- openssl..." but my server web run and also my application.

After, impossible to start web server and application. That's why i have installed openssl. But, i obtain a new error message Crying or Very sad
Back to top
View user's profile Send private message
Hassan Schroeder
Posted via mailing list.





PostPosted: Tue Apr 07, 2009 7:17 pm    Post subject: Problem with webrick server on netbeans 6.5 Reply with quote

On Tue, Apr 7, 2009 at 8:45 AM, babiben <address-removed> wrote:

Quote:
Firstly, when i try to start my application, i obtain the message "in `require_frameworks': no such file to load -- openssl..." but my server web run and also my application.

Sorry, I don't understand -- your first message said webrick wouldn't
run, now you say it did. Which is it?

Quote:
After, impossible to start web server and application. That's why i have installed openssl. But, i obtain a new error message
Back to top
babiben



Joined: 07 Apr 2009
Posts: 7

PostPosted: Wed Apr 08, 2009 9:29 am    Post subject: Reply with quote

forget it! However, do you understand my error message ?

Code:
/home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/string/xchar.rb:6: undefined method `fast_xs' for class `String' (NameError)
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/string/xchar.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/string.rb:9
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/string.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:3
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:1:in `each'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:1
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support.rb:55
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:1
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:27:in `require'
        from /home/session/opt/netbeans-6.5/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from script/server:3
Back to top
View user's profile Send private message
Brandon Hauff
Posted via mailing list.





PostPosted: Wed Apr 08, 2009 1:54 pm    Post subject: Problem with webrick server on netbeans 6.5 Reply with quote

Hi Babiben,

I would suggest you download JRuby 1.2.0. Then in Netbeans go to Tools
-> Ruby Platforms and add the newly installed JRuby 1.2.0. You can try
to install the gems you need throught Netbeans, but I always do gem
installs from the command line. Go to the command line and install your
gems:

/path/to/jruby-1.2.0/bin/jruby -S gem install rails
/path/to/jruby-1.2.0/bin/jruby -S gem install activerecord-jdbc-adapter
-v=0.9.0

I think you then should be close if not good to go!

Thanks,

Brandon

Quote:
-----Original Message-----
From: babiben [mailto:address-removed]
Sent: Wednesday, April 08, 2009 4:30 AM
To: address-removed; address-removed
Subject: Problem with webrick server on netbeans 6.5


forget it! However, do you understand my error message ?




Code:
/home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext/string/xchar.rb:6: undefined method
`fast_xs' for class `String' (NameError)

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext/string/xchar.rb:27:in `require'

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
Quote:

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext/string.rb:9

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext/string.rb:27:in `require'

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
Quote:

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext.rb:3

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext.rb:1:in `each'

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext.rb:1

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext.rb:27:in `require'

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
Quote:

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support.rb:55

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support.rb:27:in `require'

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
Quote:

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:1

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:27:in
`require'

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
Quote:

from script/server:3











Back to top
Chris Kutler
Posted via mailing list.





PostPosted: Wed Apr 08, 2009 3:39 pm    Post subject: Problem with webrick server on netbeans 6.5 Reply with quote

Brandon Hauff wrote:
Quote:
Quote:
Hi Babiben,

I would suggest you download JRuby 1.2.0. Then in Netbeans go to Tools
-> Ruby Platforms and add the newly installed JRuby 1.2.0.

See additional/detailed instructions here http://blogs.sun.com/divas/entry/installing_your_own_jruby_to
Quote:
Quote:
You can try
to install the gems you need throught Netbeans, but I always do gem
installs from the command line. Go to the command line and install your
gems:

/path/to/jruby-1.2.0/bin/jruby -S gem install rails
/path/to/jruby-1.2.0/bin/jruby -S gem install activerecord-jdbc-adapter
-v=0.9.0

I think you then should be close if not good to go!

Thanks,

Brandon

Quote:
-----Original Message-----
From: babiben [mailto:address-removed ([email]address-removed[/email])]
Sent: Wednesday, April 08, 2009 4:30 AM
To: address-removed ([email]address-removed[/email]); address-removed ([email]address-removed[/email])
Subject: Problem with webrick server on netbeans 6.5


forget it! However, do you understand my error message ?




Code:
/home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext/string/xchar.rb:6: undefined method
`fast_xs' for class `String' (NameError)

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext/string/xchar.rb:27:in `require'

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
Quote:
from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext/string.rb:9

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext/string.rb:27:in `require'

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
Quote:
from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext.rb:3

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext.rb:1:in `each'

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext.rb:1

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support/core_ext.rb:27:in `require'

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
Quote:
from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support.rb:55

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/gems/1.8/gems/activesupport-
2.3.2/lib/active_support.rb:27:in `require'

from /home/session/opt/netbeans-6.5/ruby2/jruby-
1.1.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
Quote:
You can try
to install the gems you need throught Netbeans, but I always do gem
installs from the command line. Go to the command line and install your
gems:

/path/to/jruby-1.2.0/bin/jruby -S gem install rails
/path/to/jruby-1.2.0/bin/jruby -S gem install activerecord-jdbc-adapter
-v=0.9.0

I think you then should be close if not good to go!

Thanks,

Brandon

0 You can try
to install the gems you need throught Netbeans, but I always do gem
installs from the command line. Go to the command line and install your
gems:

/path/to/jruby-1.2.0/bin/jruby -S gem install rails
/path/to/jruby-1.2.0/bin/jruby -S gem install activerecord-jdbc-adapter
-v=0.9.0

I think you then should be close if not good to go!

Thanks,

Brandon

1
Quote:
Quote:
You can try
to install the gems you need throught Netbeans, but I always do gem
installs from the command line. Go to the command line and install your
gems:

/path/to/jruby-1.2.0/bin/jruby -S gem install rails
/path/to/jruby-1.2.0/bin/jruby -S gem install activerecord-jdbc-adapter
-v=0.9.0

I think you then should be close if not good to go!

Thanks,

Brandon

2 You can try
to install the gems you need throught Netbeans, but I always do gem
installs from the command line. Go to the command line and install your
gems:

/path/to/jruby-1.2.0/bin/jruby -S gem install rails
/path/to/jruby-1.2.0/bin/jruby -S gem install activerecord-jdbc-adapter
-v=0.9.0

I think you then should be close if not good to go!

Thanks,

Brandon

3 You can try
to install the gems you need throught Netbeans, but I always do gem
installs from the command line. Go to the command line and install your
gems:

/path/to/jruby-1.2.0/bin/jruby -S gem install rails
/path/to/jruby-1.2.0/bin/jruby -S gem install activerecord-jdbc-adapter
-v=0.9.0

I think you then should be close if not good to go!

Thanks,

Brandon

4
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB