rails is a mess!

J

jOhn

[Note: parts of this message were removed to make it a legal post.]

I have to say that rails is such a mess right now. Notta working and it
sucks. I would prefer slower build out to failed stuff.

Oniguruma does not work on ruby v1.8.6 and gem install oniguruma fails, and
compile workarounds fail as well.

Also, ruby v1.8.6 and support for an older rails (v1.1.6) fails which is
required for my project. Used to work fine, but now I get tons of bugs like
the 'require_gem' vs. 'gem' and the total failure of REXML (which is
inexplicable).

REXML fails on ruby v1.8.6 due to NoMethodError "private method 'gsub'
called for true:TrueClass" ??

The newer RubyGems v1.1.1 is a hack-a-mess and seems to break all.

Aaarrrgh I need to do django and move away from this crappery. I really
like ruby but rails not so much.
 
G

Glen Holcomb

[Note: parts of this message were removed to make it a legal post.]

Then try a different framework maybe?
 
J

Jeremy McAnally

Did you actually install the oniguruma C library? That's probably
your first problem.

--Jeremy

I have to say that rails is such a mess right now. Notta working and it
sucks. I would prefer slower build out to failed stuff.

Oniguruma does not work on ruby v1.8.6 and gem install oniguruma fails, and
compile workarounds fail as well.

Also, ruby v1.8.6 and support for an older rails (v1.1.6) fails which is
required for my project. Used to work fine, but now I get tons of bugs like
the 'require_gem' vs. 'gem' and the total failure of REXML (which is
inexplicable).

REXML fails on ruby v1.8.6 due to NoMethodError "private method 'gsub'
called for true:TrueClass" ??

The newer RubyGems v1.1.1 is a hack-a-mess and seems to break all.

Aaarrrgh I need to do django and move away from this crappery. I really
like ruby but rails not so much.



--
http://jeremymcanally.com/
http://entp.com

Read my books:
Ruby in Practice (http://manning.com/mcanally/)
My free Ruby e-book (http://humblelittlerubybook.com/)

Or, my blogs:
http://mrneighborly.com
http://rubyinpractice.com
 
T

Tim Pease

I have to say that rails is such a mess right now. Notta working
and it
sucks. I would prefer slower build out to failed stuff.

Oniguruma does not work on ruby v1.8.6 and gem install oniguruma
fails, and
compile workarounds fail as well.

Also, ruby v1.8.6 and support for an older rails (v1.1.6) fails
which is
required for my project. Used to work fine, but now I get tons of
bugs like
the 'require_gem' vs. 'gem' and the total failure of REXML (which is
inexplicable).

REXML fails on ruby v1.8.6 due to NoMethodError "private method 'gsub'
called for true:TrueClass" ??

The newer RubyGems v1.1.1 is a hack-a-mess and seems to break all.

Aaarrrgh I need to do django and move away from this crappery. I
really
like ruby but rails not so much.

It appears that you have updated many many things all at the same
time. My only advice for your problems would be to restore your
development environment to a known good working state, and then
introduce these new packages one by one. If something breaks, it will
be much easier to tell what went wrong. Specifically, it sounds like
you should be sticking with the 0.9.4 version of RubyGems.

Oniguruma works great on Ruby 1.8.6. As Jeremy McAnally said, you
need to install the Oniguruma C library before you can install the
ruby gem.

Good luck straightening out your development environment! It's always
a bummer when it breaks :-(

Blessings,
TwP
 
J

jOhn

[Note: parts of this message were removed to make it a legal post.]

No I have a bunch of things to setup and just can't get any of it to work.

I have a ruby v1.9 app which uses the onig back-ref stuff, tried to port it
back to ruby v1.8 and nothing works on ubuntu. All the talk out there
implies its possible but its not AFAIK without re-writing my code and even
then likely won't work. Tried the patch ruby v1.8.6 with onig source and
fails.

That stuff is gone though for now as its too hard to do, I'll just shelf
it.

So on to a rails-v1.1.6 app which fails to work with rubygems v1.1.1 or ruby
v1.8.6. REXML fails on ruby v1.8.6 and rubygems seems to just mess up rails
v1.1.6 as well so its kind of a cluster-mess.

I'm tired of non-back-compatibility of rails and ruby. Too much thrash and
not enuf stash!

Too many loose pieces, you have to seal up your box when you finish
something.

It reminds me of Fedora-Core-4 and video cards!
 
J

Jason Roelofs

Lets try taking a deep breath and describing what's actually going
wrong. I see nothing here but heated ranting because you can't figure
out what's going wrong.

Jason
 
M

Marc Heiler

Aaarrrgh I need to do django and move away from this crappery.
I really like ruby but rails not so much.

Why don't you just do it? And besides, if I would not like something,
I would not really use it.

This is why I eventually stopped using PHP altogether.

Django sounds like a good idea, so maybe just do it?
 
J

jOhn

[Note: parts of this message were removed to make it a legal post.]

Ok enough of my rant. I had to clean and clean.

Then install ruby 1.8.4 with rails 1.1.6 and rubygems 0.9.4.

Just note:

REXML is not working with ruby 1.8.6
and rubygems 1.1.1 is not backward compatible
 
J

Jeremy Kemper

Ok enough of my rant. I had to clean and clean.

Then install ruby 1.8.4 with rails 1.1.6 and rubygems 0.9.4.

Just note:

REXML is not working with ruby 1.8.6
and rubygems 1.1.1 is not backward compatible

I'm glad you got things working.

What, specifically, failed with rexml and rubygems?

jeremy
 
J

Jeremy Kemper

I have to say that rails is such a mess right now. Notta working and it
sucks. I would prefer slower build out to failed stuff.

jOhn, you mention a few issues with Ruby, the standard library, and gems.

Are you running into actual troubles with Rails as well or are you
just generally frustrated with your Rails app?

In any case, bring it up on the rubyonrails-talk mailing list or the
#rubyonrails IRC channel on freenode and folks are sure to lend a
hand.

Best,
jeremy
 
R

Ryan Davis

REXML is not working with ruby 1.8.6

Seems to be working for the rest of us... but since you refuse to
describe your actual problems, we can't help. PEBCAK
and rubygems 1.1.1 is not backward compatible

nor is it meant to be. 0.9.x deprecated stuff and 1.x removed it.
YEARS of warnings... this is the natural evolution of software at work
and considered a good thing.
 
S

Suraj Kurapati

jOhn said:
rubygems 1.1.1 is not backward compatible

Correct, and the way you can *easily* know this fact is by looking at
the version number: RubyGems uses a "rational" version numbering
policy[1] whereby an increase in first number denotes incompatible
changes. In contrast, an increase in the second number denotes
compatible changes in functionality. And an increase in the third
number denotes no changes in functionality; only the underlying
implementation may have changed.

I personally follow this policy for any gem I release; it is very simple
and logical. And I am glad to see that most Ruby projects follow this
policy as well.

[1] http://rubygems.org/read/chapter/7
 
P

Phlip

jOhn said:
Ok enough of my rant. I had to clean and clean.

Then install ruby 1.8.4 with rails 1.1.6 and rubygems 0.9.4.

Nobody these problems because everyone just sticks with the latest non-beta
non-edge of everything. Ruby 1.8.6 with Rails 1.2.6. The maintainers expect
everyone to just stay current, so they don't waste time debugging their entire
potential matrix of versions.

If your app can't do Rails 1.2.6 ... why not?
Just note:

REXML is not working with ruby 1.8.6

Yup. Some fixes might be in the can.
 
E

Eric Hodel

Ok enough of my rant. I had to clean and clean.

Just note:

[...] rubygems 1.1.1 is not backward compatible

Why would you expect a 1.x release to be fully backwards compatible
with a 0.x release?

If you are referring specifically to #require_gem, it was deprecated
in favor of #gem with RubyGems 0.9.0 which was released late June
2006. The RubyGems maintainers made a Big Deal about the change on
this mailing list at the time.

Rails 1.1.6 was released a couple months later, so perhaps we didn't
make a Big Enough deal about it, or perhaps the Rails maintainers had
a good reason not to make the switch to #gem (to fit in with their
versioning scheme, insufficient testing, etc.).

Still, I think 18 months of deprecation of a feature before removal is
plenty.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top