Ubuntu :: Ruby On Rails Version Fail / What To Do?

Jan 18, 2011

I want to try test ruby on rails application on a virtual ubuntu server. But I didn't work for me.
What did i tried Code code...

What do I wrong, rubygems still 1.3.5 and is not updated...
What must I do?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Ruby / Rails Syntax Highlighting

Jun 8, 2010

The site that used to host the language spec file for .erb/.rhtml for ruby/rails syntax highlighting is no more.If someone could attach the file for gtksourceview-2.It's located in /usr/share/gtksourceview-2.0/ language-specs/ and probably called rhtml.lang

View 2 Replies View Related

Programming :: Ruby On Rails - Getting Started?

Jun 28, 2010

I'm going through the Beta version of "Agile Web Development with Rails - 4th Edition". But I'm having difficulty with initial configuration on my Gentoo box. I started like so, basically following the book:

Code:
$ rails testrails
$ cd testrails
$ script/generate controller Say hello goodbye

[Code]...

View 3 Replies View Related

Ubuntu Installation :: Can't Install Ruby On Rails / Solve This?

Mar 23, 2010

I'm trying to install ruby on rails on Ubuntu 9.10. I'm following the instructions on this site:
http://castilho.biz/blog/2009/11/05/...-karmic-koala/

However, when I try to install Rails I get an error code...

It seems like gem can't access http://gems.rubyforge.org/gems/rake-0.8.7.gem for some reason, but when I try to go directly to that address I get the option to download it. Any ideas how to get around this problem?

I'm thinking if I can somehow tell gem to look for the file locally I can download it and install rails that way.

View 3 Replies View Related

General :: Ruby On Rails - Cron Job Not Working

Oct 5, 2010

It is little weird now that cron job is not working as i have set. I have set weekly job to send email but i am receiving multiple emails daily. Below is my code; # sends email every monday at 4:00 am 00 04 * * 1 /usr/bin/ruby /home/mbm/www/current/script/runner /home/mbm/www/current/app/models/add_to_delayed_job.rb -e production

00 -> Minutes
04 -> Hours (0-24)
1 -> Days / 0-6 / Sun - Sat

Sending email is fine but the time is not working so far as set.

View 2 Replies View Related

Software :: Looking For Ruby On Rails Development Firms In India?

Jan 29, 2010

We're looking for a top-notch Ruby on Rails development firm in India.

View 2 Replies View Related

Ubuntu Servers :: Ruby On Rails - Redmine - FATAL: Password Authentication Failed?

Jun 30, 2011

When I try and access redmine from the webbrowser i get an error:

Code:
FATAL: password authentication failed for user "redmine" FATAL: password authentication failed for user "redmine" (PGError)

[code]....

View 7 Replies View Related

Red Hat :: Turning Ruby On Rails Ubuntu Command Into Redhat Command

Dec 2, 2008

I'm the noobiest noob you'll find on here. I'm having trouble getting ruby on rails to work with mysql on redhat. So on their forum I asked how to install the latest "sqlite" database package on linux.They told me to run.Now, I don't think I need "sudo" because I am the root user on my database, and I don't think I can use "apt-get" because I'm using redhat, not ubuntu.

1) Is there a way of running the above command on redhat? (A redhat command for installing things?)

2) How can I be sure I'm using redhat and not some other OS?

View 1 Replies View Related

CentOS 5 :: How To Install Ruby On Rails 1.9.2 On Centos 5.5

Dec 14, 2010

how to install Ruby on Rails 1.9.2 on Centos 5.5? My searches turned up dead ends (and installation scripts that did not work).

View 2 Replies View Related

Ubuntu Multimedia :: Rubyripper - Lucid Ruby 1.8 / 1.9 / Libgtk2-ruby?

Apr 26, 2010

I've been using rubyripper quite happily on Karmic, now I've moved to Lucid and discovered a bit of an issue. rubyripper will pause for several minutes between tracks with ruby 1.8. If I upgrade to ruby 1.9.1 the gui client won't run due to an issue with libgtk2-ruby not being available for 1.9.1.

The cli version of rubyripper under 1.9.1 is blazingly fast, so that is what I'm using at the moment, but I do prefer the gui.

Anyone have any insight into this? Googling suggests there may be a bug in ruby 1.8.7 that caused the long pauses, but it was supposed to have been fixed in 1.8.7.249 i.e. the default Lucid version.

View 8 Replies View Related

Software :: Interactive Ruby Shell - Irb - Have Ruby But No Irb?

Oct 22, 2010

There are a few things not working properly. Ruby version manager seems ok but untill i get working with ruby i don't know if it is working properly. One thing that is not there is irb Interactive ruby is not available according the the message i get.

Well i have no idea what readline is but i did everything that is on that webpage referance page [url]. I have got a lot of progress and learned heaps about linux shell and bash terminal. The thing is i need to get this going and have tried feenode but it is very foreign and how it works i do not have a clue. I have got 2 things resolved so far through this forum but using other threads in it. i need to get irb going before i can progress to using ruby on Rails properly.

I am using a Eeepc running ubuntu easy peasy its version 9.04 of ubuntu. I need the whole of rails to work and want to get a handle on using ruby version manager along with the apache stack with mysql/phpmyadmin and am using this as a dummy run for setting up a development system.

View 2 Replies View Related

Slackware :: Vbox Guest Additions - Proprietary Version - Fail With - Currents New Kernel Config

Mar 11, 2010

Experienced that building the vbox guest additions (on the binary/non-free vbox) on a slackware --current guest (with windows *and* linux as a host) fails now with the new kernel's just released in --current?

View 7 Replies View Related

Ubuntu :: How To Remove App From Rails 3

Sep 7, 2010

knows how to remove an app (or in this case, a test/learning app) from Rails 3?I could just delete the folder, but I'm worried it will leave annoying residual files around that I will never find (database, server, configurations, etc...).Especially since I'm new to linux, I don't even know how to be aware of what files may have been generated/changed as a result of making a new rails app.

View 2 Replies View Related

Programming :: Rails: No Path For Link_to

Jun 30, 2010

I'm still going through "Agile Web Development with Rails" (Beta version), and I'm confused as to why some code in the book is not working for me. Following their example code in the book, I created code like so:

Code:

$ rails demo
# ...
$ cd demo/
$ script/generate controller Say index hello goodbye
exists app/controllers/

[code]...

After starting the server, I can view the index view and the other views just fine. But then I have trouble if I add this code to any of the view html templates:

Code:

<p><%= link_to "Hello", say_hello_path %></p>

I'm told this is supposed to generate a link to the say/hello view. But instead I get an error message like so:

Code:

undefined local variable or method `say_hello_path' for #<ActionView::Base:0xb6ce3090>
If I edit it to

Code:

<p><%= link_to "Hello", Say_hello_path %></p>

then I get

Code:

uninitialized constant ActionView::Base::CompiledTemplates::Say_hello_path

But I haven't noticed anything in the book so far indicating that I am supposed to initialize these constants or how I am supposed to do it.

View 1 Replies View Related

General :: Error Installing Rails 3.0.1 (File Not Found)

Feb 17, 2011

I am trying to install rails 3.0.1 on ubuntu 10.10. I am getting this error towards the end when i execute this command sudo gem install rails --version 3.0.1.

View 1 Replies View Related

Ubuntu :: Stuck With Ruby On Terminal?

Jun 28, 2010

Terminal, I type ruby, I hit enter, and nothing happens. I'm given a blank line that I can type and enter, and again, nothing happens. I'm stuck, is there a way to fix this without closing the terminal window?

View 1 Replies View Related

Ubuntu :: Generate Pdf Documents Programmatically Using Ruby

Apr 1, 2011

I need to generate pdf documents programmatically using Ruby. i.e. I don't want a GUI interface but an API interface. The bulk of my document is text but there are images included as well. I've looked at this thread: [URL] and it's 2 main recommendations PDFEdit and ImageMagik. PDFEdit has scripting available but I can't get my head round how to call this using Ruby. ImageMagik has a number of Ruby wrappers and is the kind of thing I want but as far as I can tell it only deals with Images and my stuff is mainly text.

View 1 Replies View Related

Fedora :: Install Ruby 1.9.2 In F14?

Dec 19, 2010

Is there a way to install ruby on Fedora 14?

View 1 Replies View Related

Ubuntu Servers :: Starting Ruby App When System Boots Up?

Feb 12, 2010

how do I start a ruby on rails application when my Ubuntu server starts up/is rebooted? I start the application by cd-ing into the ruby application's root directory(the application I'm using is Bibapp) and execute the command;

Code:

sudo rake bibapp:start

View 1 Replies View Related

Ubuntu Servers :: Make A Ruby Script Run At Start?

Apr 5, 2010

I have set up a subversion server and on top of that redmine which is a webinterface sort of like trac.For every boot I have to run a script so that redmine will listen to port 8080. I have tried to make the system run this script by it self at start using

Code:
# update-rc.d -f start_servers start 99 2 3 4 5 .
using this guide http://embraceubuntu.com/2005/09/07/...run-at-bootup/

[code]....

View 3 Replies View Related

Ubuntu :: Lucid: Attempting Install Of Ruby Gem 'mysql'?

Sep 2, 2010

==========NOTE: subsequent to posting, I attempted to use the gem 'mysql' and it worked. This is odd considering all the errors that were emitted below. Anyway, I can proceed with my study.==========

Environment:
Running 10.04
MySQL version: mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1

[code]...

View 1 Replies View Related

Ubuntu Multimedia :: How To Install Ruby Ripper In Maverick

Mar 18, 2011

I'm trying to install Rubyripper into Maverick using these guidelines: [URL]

But I get this error message in terminal:

Code:
W: Failed to fetch http://ppa.launchpad.net/aheck/ppa/ubuntu/dists/maverick/main/source/Sources.gz 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/aheck/ppa/ubuntu/dists/maverick/main/binary-i386/Packages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead. Presumably because it can't find the package. But what do I do next? or is there an alternative way to install?

View 3 Replies View Related

Fedora :: Can't Install Mysql Gem On Ruby?

May 29, 2010

Everytime I tru to install that gem with gem install mysql I get this output :

[CODE]
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
checking for mysql_ssl_set()... no

[Code]...

View 4 Replies View Related

OpenSUSE :: Install The Rmagick Gem Under Ruby Ree-1.8.7?

Jul 30, 2010

I would like to install the rmagick gem under ruby ree-1.8.7. Like every time, the installation routine does complain about two different version being installed which are actually the same. I have every, really every imagemagick package installed:

Code:
ImageMagick-6.6.1.0-3.8.i586
GraphicsMagick-1.3.12-1.15.i586
libMagick++3-6.6.1.0-3.8.i586
libGraphicsMagick3-1.3.12-1.15.i586

[Code]...

View 2 Replies View Related

General :: Can't Get Ruby To Update Properly

Aug 11, 2010

(Using Archlinux) I downloaded Ruby 1.8.7-174 a while ago and installed it via the tarball (not pacman). I was trying to update to 1.8.7-299, but I can't get it to work. Per the readme, I do the following steps, all of which complete without error:

./configure
make
make install

After install finishes however, I still have -174 installed instead of -299.

View 1 Replies View Related

Programming :: Some Popular Web Applications That Use Ruby?

Dec 12, 2010

What are some popular web applications that I've seen that use ruby?

View 1 Replies View Related

Programming :: Error In Ruby Program

Nov 18, 2010

I have the following code:

Code:

And it gives this error:

Code:

View 2 Replies View Related

Slackware :: Can't Install 'rmagick' Ruby Gem?

Jan 3, 2011

Has anyone been able to successfully install rmagick on slackware 13.1? On both my systems (one multilib and one 32-bit), it complains about having a 'partial' ImageMagick install!

Code:
$ sudo gem install rmagick
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.

[Code]...

View 4 Replies View Related

Slackware :: Qt4 And Plasma Ruby Bindings

Jun 4, 2010

I've slackware 13.1 and anytime I try the following commands in irb:

Code:

require 'rubygems'
require 'Qt4'

or

Code:

require 'rubygems'
require 'plasma_applet'

i receive the following error:

LoadError: no such file to load -- Qt4
LoadError: no such file to load -- plasma_applet

now I'm wondering what packages or gems I need to make it work?

View 3 Replies View Related

CentOS 5 :: Installing Mysql Ruby Gem On 64-bit?

Aug 18, 2009

I have a problem installing mysql ruby gem on 64bit CentOS machine.

[jacekb@vitaidealn ~]$ uname -a
Linux vitaidealn.local 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved