[Rails] Re: unpacking ruby-odbc

2010-12-21 Thread pepe
 Bundler might help here.

I don't know bundler but for what I read in the web site it would only
help with the list of gems not with unpacking ruby-odbc.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



[Rails] Re: unpacking ruby-odbc

2010-12-21 Thread Marnen Laibow-Koser
pepe wrote in post #969780:
 Bundler might help here.

 I don't know bundler but for what I read in the web site it would only
 help with the list of gems not with unpacking ruby-odbc.

It won't help with unpacking as such, but it will help with automating 
the installation process on the host.

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org

Sent from my iPhone

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



[Rails] Re: unpacking ruby-odbc

2010-12-20 Thread pepe
  I need to install my application to a Windows server

 My goodness, why?  That's just asking for trouble.

We've had this conversation more than once.

 Right.  Gems with native extensions generally can't be frozen usefully.

Well, that does not help me much. If it can be done I'd like to try
it. If it can't be done then I'd move on and go with the install
approach I currently have.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



Re: [Rails] Re: unpacking ruby-odbc

2010-12-20 Thread Colin Law
On 20 December 2010 15:11, pepe p...@betterrpg.com wrote:
  I need to install my application to a Windows server

 My goodness, why?  That's just asking for trouble.

 We've had this conversation more than once.

 Right.  Gems with native extensions generally can't be frozen usefully.

 Well, that does not help me much. If it can be done I'd like to try
 it. If it can't be done then I'd move on and go with the install
 approach I currently have.

What 'native extensions' means is that parts of the gem are not
written in Ruby but are (generally I think) in C.  These need to be
compiled to generate code suitable for the OS the app is being run on.
 The gem cannot therefore be frozen as it would be frozen with code
compiled for the wrong OS.  I think therefore you must install such
gems on the target machine in the normal way.

Colin

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



[Rails] Re: unpacking ruby-odbc

2010-12-20 Thread pepe
 What 'native extensions' means is that parts of the gem are not
 written in Ruby but are (generally I think) in C. These need to be
 compiled to generate code suitable for the OS the app is being run on.

Yes, I learned that by working with ruby-odbc.

  The gem cannot therefore be frozen as it would be frozen with code
 compiled for the wrong OS.  I think therefore you must install such
 gems on the target machine in the normal way.

Thanks Colin. I was afraid that would be the case.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



[Rails] Re: unpacking ruby-odbc

2010-12-20 Thread Marnen Laibow-Koser
pepe wrote in post #969581:
 What 'native extensions' means is that parts of the gem are not
 written in Ruby but are (generally I think) in C. These need to be
 compiled to generate code suitable for the OS the app is being run on.

 Yes, I learned that by working with ruby-odbc.

 The gem cannot therefore be frozen as it would be frozen with code
 compiled for the wrong OS. I think therefore you must install such
 gems on the target machine in the normal way.

 Thanks Colin. I was afraid that would be the case.

Bundler might help here.

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org

Sent from my iPhone

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



[Rails] Re: unpacking ruby-odbc

2010-12-19 Thread Marnen Laibow-Koser
pepe wrote in post #969475:
 Hello,

 I need to install my application to a Windows server

My goodness, why?  That's just asking for trouble.

 (using MSSQL as
 the DB) and to make my life easier I am freezing the application. I
 have been able to freeze rails and unpack all the gems I need
 (including activerecord-sqlserver-adapter) except for one: ruby-

Right.  Gems with native extensions generally can't be frozen usefully.

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org

Sent from my iPhone

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.