Installing gem from source

I need to install the latest actionwebservice from source. I have
spent quite a bit of time looking for info on the net and reading
books but couldn't find a clear and cut set of instructions about how
to do this.

This is the first time I try to build a gem from source and I am
unsure as how to proceed. I don't know if I need to 'build' the gem or
what else to do. I have tried running both the 'setup.rb' and
'install.rb' that come with the gem but that did not work. I am kind
of out of ideas.

Any help would be appreciated.

Thank you.

What system are you using and have you installed gem yet? If you don't
know, you can simply see if you installed it by typing in your OS
console

gem -v

this should give you what version of gem you're running on or nothing
at all if you haven't installed gem.

I'm on Windows. The currently installed version of the gem is 1.2.6
but that is causing conflicts with actionpack. This is the last step
to try and solve a conflict in my application using web services. I am
trying to install from source because I made a change to the required
versions of other gems as I don't want to change the version of Rails
I am running.

Maybe you can try updating your gem. I have 1.3.7

You also don't have to worry about changing the version of Rails
becuase you can dictate what version you want Windows to run by using
the code:

rails _2.3.7_ --version

2.3.7 being the version you want to change it to.

Every time I try to update actionwebservice the system tells me there
is nothing to update. I tried installing the gem specifying version
2.3.2 (apparently the latest) and it couldn't find it. In any case
that would not change much because in the gemspec file it still says
that it requires actionpack 2.3.2 exactly (=), not higher or equal
than (>=), which would not change the problem I'm running into.

About changing the version of rails running, I think I can specify
that in environment.rb (I remember doing that before) but that is what
I don't want to do.

I need to install the latest actionwebservice from source. I have
spent quite a bit of time looking for info on the net and reading
books but couldn't find a clear and cut set of instructions about how
to do this.

This is the first time I try to build a gem from source and I am
unsure as how to proceed. I don't know if I need to 'build' the gem or
what else to do. I have tried running both the 'setup.rb' and
'install.rb' that come with the gem but that did not work. I am kind
of out of ideas.

you run gem build blah.gemspec. This should create a .gem file
somewhere in that folder, you can then do gem install blah.gem

Fred

Fred comes once again to the rescue! :slight_smile:

Thanks buddy. I owe you (another) one. Unfortunately I am running into
other problems now but I think I'll be OK after this major (for me)
hurdle.

Well, got all the kinks solved and now my application is working just
fine. Thanks a lot Fred, without your comments on this and my other
thread I don't think I would have made it.