Displaying 20 results from an estimated 20000 matches similar to: "[JRuby] Exposing rails method as java class"
2007 Mar 09
3
NetBeans 6.0/Script Console Window
Has anyone figured out how to turn NetBeans IRB window into Ruby on
Rails script/console window where the gems like ActiveRecord, ActionPack
etc are recognized? May be an easy one for the Rails Guru''s out there,
not for me. By default, the NetBeans IRB window only loads Ruby. I am
trying to see how well NetBeans 6.0''s Ruby/RoR support works fully
realizing that it is an alpha
2008 Jan 14
5
Help finding "JRE" to run Netbeans in Linux
I''ve spent the last year developing a large Ruby on Rails 2.0
application with over a 100 tables and controllers and hope to be
deploying it soon.
Before I moved from my Windows XP computer to deployment, I wanted to
run it in a local Linux environment to sort out:
1. Amazon S3 files
2. RMagick (went south when I upgraded to Rails 2.0)
3. ARMailer (mail spooling program)
I''ve
2007 Oct 18
2
Class works on Ruby, does not work on Rails controller.
Dear All,
I have written a ruby class which uses the flickr webservice. When I
wrote a "command line" sript using that class the I get a proper
response (through res_message). But when I use the class in a
controller I get nil as the response
any help will be highly appreciated.
thanks.
J
--------------------------------------
class is like this.
class FlickrClient
def
2006 Nov 24
0
Calling Java in Rails (JRuby, jrb, yajb) - real-world experience?
Hi,
I''d be interested to hear from people who have used either JRuby or one
of the Java-Ruby bridges like jrb or yajb to call out to Java classes
from Rails.
Which bridge did you use, how did it work out? Which one do you
recommend?
Is anybody running Rails on JRuby on a production server, or is Rails
on JRuby still to experimental for that?
Thanking you in advance,
Elmar
2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
Looks like globalize (1.2) is not compatible with rails 2.2.2. I am
getting:
''
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails 2.2.2 application starting on http://0.0.0.0:3003
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3003
** Starting Rails with development environment...
2009 Sep 17
1
Load Error Using Mechanize Gem
Hi,
I''m getting a "Could not open any of [xml2, xslt, exslt] (LoadError)" error when trying to run a simple Ruby program taken from the EXAMPLES.rdoc file of the Mechanize gem.
The error is in this line of the Nokogiri module of libxml.rb: ffi_lib ''xml2'', ''xslt'', ''exslt''
Not sure if there are missing gems, and if so,
2010 Jan 07
1
Active Record Error
I''ve had to download an existing Rails project and I''m attempting to
setup locally. I''ve installed all the 2.1.1 rails gems needed by the
project as the existing site is at that version. My platform is
Netbeans 6.8 on Windows Vista for development and prod is on linux.
I''ve been able to setup test and other sites using the latetest
version of rails but cant seem
2009 Oct 20
3
gem installation failed
i got this error message while installing mysql gem.....
kindly help me to solve this issue....
JRuby limited openssl loaded. gem install jruby-openssl for full
support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
C:/Program Files/NetBeans
2010 Feb 25
2
error on project run.....
Hi,
i am new at rails, working on a project,as i run my project in
netbeans, the following error comes in the output window,
suggest some fix for it.
C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/
gems/rails-2.3.2/lib/initializer.rb:32: C:/Program Files/NetBeans 6.7
Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/
initializer.rb:1070: , unexpected kEND
2007 Oct 16
6
netbeans6 + RoR errors
I''m having problems with running RoR applications, either imported
from existing source or by creating a new project in NetBeans 6 beta
1. When I use the menu "run / test project" or "run / run main
project" I get an error very similar to this:
(from test)
(in C:/flame-svn/test/RailsApplication1)
"C:/flame-svn/test/RailsApplication1/config/boot"
rake
2007 Dec 28
1
WEBrick.. won't start and showing '/rails-2.0.2/lib/initializer.rb:159:in `require_frameworks': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError)' errors
Hi
WEBric won''t strat and showing the following errors:-
=> Booting WEBrick...
/mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/rails-2.0.2/
lib/initializer.rb:159:in `require_frameworks'': Could not find RubyGem
jruby-openssl (>= 0.0.0) (RuntimeError)
from /mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/
rails-2.0.2/lib/initializer.rb:156:in
2008 Jul 01
8
InstantRails
Does anyone know if InstantRails will be upgraded for Rails 2.1? I see
a lot of threads where people are discussing problems upgrading from 2.0
to 2.1. I would rather wait for InstantRails2.1 if it was close?
Thanks.
Bharat
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2013 Feb 14
4
Struggling with Jruby Rails + jdbc driver
hi all,
I am having a hard time trying to find out what''s wrong with my setup. It
used to work smoothly until I decided out of the blue to do a selfupdate
and upgrade outdated on MacPort, then things started going south very
quickily.
Since MacPort kinda broke, I pull it all out and re-install the ports I
have before, which went pretty smoothly. Then to my surprise any command I
2009 Apr 04
1
JRuby on Rails
Hi
This is my first post, and i would like to know if here we can talk about
JRuby on Rails too, or just Ruby on Rails.
If we can talk about JRuby, i would like to ask about a problem.
I have installed the lastest version of jruby, rails, and activerecord for
jdbcmysql adapter.
When i run:
# rake db:create
Anyone error messages apper, and anyone database is created. Is this a know
issue?
2014 Jun 04
0
Getting random threading errors in jruby (1.7.3) & rails 2.3.17 application
I am running jruby (1.7.3) & rails 2.3.17 application whose apis are
exposed to outside app. When I add "config.threadsafe!" in my
development.rb/production.rb & hit lot many api requests in a second then I
am getting following errors randomly for some of the api requests:
1. TypeError (NilClass can't be coerced into Float)
2. RuntimeError (can't add a new key
2008 Nov 25
1
NetBeans 6.5: RuntimeError when running tests
Is anyone on the list having success using NetBeans 6.5?
I''ve been having difficulty running my tests on NetBeans 6.5. Whenever
I attempt to run the tests on my project, I get numerous errors such
as this one:
RuntimeError: appender ''<Logging::Appenders::File: /Users/george/
workspace/RPM/log/test.log>'' is closed
These errors never occur when I run the tests
2009 Sep 24
0
ActiveSupport-GemFireCache a Jruby/Rails Plugin
Hello,
Just wanted to let the community know that I put some time/effort
into building a basic Jruby/Rails plugin that will allow you to
replace the cache_store with one specific for the Gemfire Cache
Server. For those not familiar with Gemfire, its an enterprise grade
memory caching fabric with tons of interesting features and great
scalability. We have been testing some java implementations
2007 Jun 08
1
Running test Rails app under JRuby and JBoss - experiences
Based on this article http://blog.saush.com/?p=208 I have created a
simple speed test application to see how JRuby behaves under JAVA
server. I created one controller with simple method that provides actual
time for view. View is RHTML with simple code for publishing the time
provided by controller.
Then a packed the application into WAR(described in article) and
published under JBoss 4.0.5 (on
2010 Jan 09
9
Problem with Sessions
Hi,
Using Netbeans 6.7.1,
Rails Gem Version 2.3.2
MySQL Server 5.1
I am currently doing the depot application from the pragmatic programmer
book (agile web development with rails) everything has been fine up until
the point of creating sessions. I know they are using an earlier version of
Ruby and the gems version is 2.2.2. As soon as I put the necessary code in
the website no longer works and
2011 Jun 10
0
Rails 3.1 RC4 with jruby-1.6.2 and stream-renderer missing constant Fiber
I just followed the railscast http://asciicasts.com/episodes/266-http-streaming
to have streaming. calling the http://localhost:3000/users ends up
with following error:
[INFO] NameError (uninitialized constant
ActionView::StreamingTemplateRenderer::Fiber):
[INFO] /home/kristian/projects/sandbox/rails3.1/rails3.1-test5/
target/rubygems/gems/actionpack-3.1.0.rc4/lib/action_view/renderer/