This forum is no longer active. Please post your questions to our new community site

How to install required packages

Subscribe to How to install required packages 10 post(s), 5 voice(s)

Avatar avinash.palleti 5 post(s)

For my application to run inside rubystack, i need some other packages otherthan those in rubystack like ruby-dev

How to install these packages inside rubystack.

Avatar Beltrán Rueda Administrator 3,714 post(s)


Once you installed RubyStack, there is a “rubyconsole” script in the installation directory or in the Windows start menu. Then you can install the packages using “gem install package”.

Avatar avinash.palleti 5 post(s)

Hi beltran,
Thanks for the reply.

Two things i have to make clear that
I am using ubuntu 10.04
and those packages i mentioned are not gems.

Avatar avinash.palleti 5 post(s)

Those are independent packages.
Normally they installed by using “apt-get install”

But here in rubyconsole it is not accepting that command.

Avatar Beltrán Rueda Administrator 3,714 post(s)

In this case it should be enough installing these packages in the system itself.

Avatar avinash.palleti 5 post(s)

Then you are telling that we cant install any other packages to rubystack other than what you had given.
If i want to add perl to rubystack is it not possible….?

Avatar Beltrán Rueda Administrator 3,714 post(s)

Well, you can install any software in your system and you can use it with the RubyStack. For example you can install perl on your system and configure Apache to use perl-cgi.

Avatar vamshi4001 3 post(s)

HI beltran,

According to my knowledge, the main purpose of stacks is getting rid of the dependencies and upgrades that happen in the system, so if the stack uses the softwares installed outside the stack in the system, then wouldn’t it be a problem when the packages outside the stack gets upgraded and becomes incompatible?

Avatar ramyayella 11 post(s)

hello beltran,
I want to install the libsqlite3-dev (sqlite3 development header) inside bitnami ruby stack, as i do not want to use any packages from the system inorder to avoid dependency issues. Is there any way to do this?

Avatar danoo Administrator 81 post(s)


You are right, the main purpose of stacks is to have an application independent on the system. However sometimes if you need and are careful then you can use the outside-of-the-stack software together with the stack components.

Why do you need to install libsqlite3-dev ? You have already everything what you need bundled with RubyStack. Am I missing here something ?
If you want to install new version of sqlite-ruby then it is enough to use proper parameters like below:

$ /opt/rubystack-2.1-0/ruby/bin/gem install sqlite3-ruby — —with-sqlite3-dir=/opt/rubystack-2.1-0/sqlite

You can find more info on this topic in the following post:…

I hope it will help.