What is in the stack?

Subscribe to What is in the stack? 6 post(s), 4 voice(s)

 
Avatar stevesanderson Administator 7 post(s)

Open Source Core:
Ruby 1.8.6
Rails 1.2.3
MySQL 5.0
SQLite 3.3
Subversion 1.4
Apache HTTP Server 2.2 (Production mode)
OpenSSL
ImageMagick 6.3
Mongrel/Mongrel Cluster
Capistrano
Gruff
Rake
RMagick

 
Avatar foxxx 4 post(s)

can the stack be updated and added to?

 
Avatar Rachel G Administator 48 post(s)

Hi Foxxx,
You can do gem updates to stack components and you can add additional components to your environment. Remember when doing your gem updates that Rm-Install requires the 32-bit libraries, so if you are running a 64 bit server, you will need to install these.
Thanks,
Rachel

 
Avatar Ken 3 post(s)

“You can do gem updates to stack components and you can add additional components to your environment.”
I used the 1.1 linux installer(fedora 8). Everything was working great until I downloaded and installed rails (And dependencies) 2.1 gems. This seem to have broken the rails command.
When I attempt to run the command I am returned with
rails line 9: require: command not found
rails line line 11: version: command not found
It seems that the ruby path is broken maybe? I uninstalled the gems and it remains broken. Ruby and rake are fine. I can run my server, perform migrations, use generators etc. Just the rails command is not functioning.
Is this a known issue?

 
Avatar Ken 3 post(s)

UPDATE
I changed the /path_to_rails/rails header from
#!/rm_installation_path/ruby/bin/ruby
to
#!/usr/bin/env /rm_installation_path/ruby/bin/ruby
And that resolved the issue. Hope this helps anyone with the same problem.

 
Avatar Rachel G Administator 48 post(s)

Thanks Ken. We will take a look at this.
Rachel