Subject: [jruby-user] Daniel C. Dennison is out of the office. - msg#00204
List: lang.jruby.user
I will be out of the office starting 12/18/2007 and will not return until
01/02/2008.
I can be contacted on my cell at 305-2988.
.
This
message and any attachments contain information from Union Pacific which may be
confidential and/or privileged.
If you are not the intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this message is strictly prohibited by
law. If you receive this message in error, please contact the sender
immediately and delete the message and any attachments.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
[jruby-user] Running compiled code errors with require
I'm working on compiling some ruby code into class files. The ruby
file compiles with no problem, but I get an error when running it:
Exception in thread "main" process.rb:1:in `require': no such file to
load -- fileutils (LoadError)
...internal jruby stack elided...
Obviously its complaining because it can't find fileutils. What do I
need to do to help it along? I'm running sparc-jruby1.1b1 installed
in /usr/local/jruby. My file is called process.class, and here is my
command line:
java -classpath
/usr/local/jruby/lib/jruby.jar:/usr/local/jruby/build_lib/asm-3.0.jar:.
process
Thanks for your help,
Chris
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
Next Message by Date:
click to view message preview
Re: [jruby-user] Working with activerecord-jdbcpostgresql-adapter in Rails 2.0.1 [SOLVED]
I was able to correct the issue. My database.yml file was correct but my
database needed to be flattened. My schema version was incorrect for some
reason. But I'm up and running with the new adapter.
Time to dive into the rest of the Rails 2.0 benefits.
MDWeezer wrote:
>
> I'm building my Rails apps with JRuby and I recently upgraded to Rails
> 2.0.1 and I'm trying to move everything over to the new conventions.
>
> I was ActiveRecord-JDBC for a connection to both an Oracle and a
> PostgreSQL database. But now I'm trying to utilize the newly released AR
> adapters for each database.
>
> What is the right syntax in my database.yml file?
>
> I've tried a variety of combinations but when running any of the new Rake
> tasks (db:create, reset etc etc) and even migrations I'm not getting any
> responses in my output with no changes to my database.
>
> Any thoughts? I've used many combinations of what's below. I've also
> stripped out URL and used "hostname" and "database" without much luck.
>
> development:
> adapter: jdbcpostgresql
> url: jdbc:postgresql://host:port/db
> username: user
> password: password
>
> Thanks!
>
--
View this message in context:
http://www.nabble.com/Working-with-activerecord-jdbcpostgresql-adapter-in-Rails-2.0.1-tp14398461p14403339.html
Sent from the JRuby - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
Previous Message by Thread:
click to view message preview
[jruby-user] Running compiled code errors with require
I'm working on compiling some ruby code into class files. The ruby
file compiles with no problem, but I get an error when running it:
Exception in thread "main" process.rb:1:in `require': no such file to
load -- fileutils (LoadError)
...internal jruby stack elided...
Obviously its complaining because it can't find fileutils. What do I
need to do to help it along? I'm running sparc-jruby1.1b1 installed
in /usr/local/jruby. My file is called process.class, and here is my
command line:
java -classpath
/usr/local/jruby/lib/jruby.jar:/usr/local/jruby/build_lib/asm-3.0.jar:.
process
Thanks for your help,
Chris
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
Next Message by Thread:
click to view message preview
[jruby-user] Daniel C. Dennison is out of the office.
I will be out of the office starting 12/18/2007 and will not return until
01/02/2008.
I can be contacted on my cell at 305-2988.
.
This
message and any attachments contain information from Union Pacific which may be
confidential and/or privileged.
If you are not the intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this message is strictly prohibited by
law. If you receive this message in error, please contact the sender
immediately and delete the message and any attachments.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email