Forum: Typo Typo 5.0.3 with Rails 2.1 ?

268f57c236bb50c0f6e12ac38adc9d81?d=identicon&s=25 Arun Gupta (Guest)
on 2008-06-25 21:08
(Received via mailing list)
Has Typo been tested with Rails 2.1 ?

I tried db:migrate and got the following error:

-- cut here --
~/samples/jruby/typo-5.0.3 >~/testbed/jruby-1.1.2/bin/jruby -S rake
db:migrate
(in /Users/arungupta/samples/jruby/typo-5.0.3)
rake aborted!
no such file to load --
/Users/arungupta/samples/jruby/typo-5.0.3/config/../vendor/rails/railties/lib/initializer
/Users/arungupta/samples/jruby/typo-5.0.3/rakefile:4:in
`/Users/arungupta/samples/jruby/typo-5.0.3/rakefile'
(See full trace by running task with --trace)
-- cut here --

-Arun

--
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta
2fd0206c71a1b22a9cc6293f38537461?d=identicon&s=25 Cyril Mougel (shingara)
on 2008-06-25 21:15
(Received via mailing list)
On Wed, Jun 25, 2008 at 9:07 PM, Arun Gupta <arun.gupta@gmail.com>
wrote:
> /Users/arungupta/samples/jruby/typo-5.0.3/rakefile:4:in
> `/Users/arungupta/samples/jruby/typo-5.0.3/rakefile'
> (See full trace by running task with --trace)
> -- cut here --
>

Typo 5.0.3 and 5.0.4 doesn't support Rails 2.1. After discussion with
neuro, Typo support Rails 2.1 in version 5.1. Not before. So the next
release of Typo doesn't support Rails 2.1. Only 2.0.x
E8c366546962a603b831e66bc7798a7d?d=identicon&s=25 Scott Likens (Guest)
on 2008-06-25 23:48
(Received via mailing list)
Hi Arun,

I see this topic was touched on but I figured hey... let's beat it to
death!

Typically with major version changes of the "Rails" Core, from 2.0 to
2.1, the application needs to be "ported" to the new version.
Depending on the changes this may be easy, or painful.

However, when going from Rails 1.2.3 to Rails 1.2.6, the application
should work with minimal issues; there may be some issues that
undesirable functionality, something not working right.  It is the
unfortunate design of Ruby on Rails.

When someone develops an application or creates it with the 'rails'
command, it's basically destined for the version of  rails that they
have installed.  Until said person, or someone else 'ports' the
application to Ruby on Rails 2.1 in this case.

Long story short, when an application says it requires Ruby on Rails
2.0.2 or 2.0.3, it's generally suggested to run with that exact
version to get the optimal results.
This topic is locked and can not be replied to.