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


ADVERTISEMENT

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 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

OpenSUSE :: No Syntax Highlighting In Vim?

Jun 24, 2010

syntax on , is in ~/.vim file but still not syntax higlighting in vim a.cpp.Why?

View 3 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

Ubuntu :: Gedit Syntax Highlighting Not Working Under Home Dir

Nov 9, 2010

I've been battling with this weird problem for a while now and since I can't seem to find a decent answer I'm hoping one of you guys can steer me in the right direction. The problem is simple... syntax highlighting is not working consistently on ".rb" files.

My user name on my Ubuntu 10.04 LTS is jean-marc. So if I do
touch /home/jean-marc/testing.rb
and then
gedit /home/jean-marc/testing.rb
The file comes up as "Plain Text"

If I copy the file into /tmp/ and do gedit /tmp/testing.rb
the file comes up as "Ruby"
If I do
gedit /home/jean-marc/afile.rb
and the file does not exists the file comes up as "Ruby"

If I manually set the Syntax Highlight mode on my file gedit seems to remember it. Since most of the files are generated through scripting they all come as "Plain Text" and it's definitely not the best way to edit them. Also, the files, no matter where they are show up as "Ruby script (application/x-ruby)" when showing the attributes through nautilus. Now, before someone tells use, use this software or that software instead of gedit, well I'm happy with the tool and its plugins. I'm efficient with it and I'd rather stick to it.

View 4 Replies View Related

Debian :: Can't Get Work Terminal Syntax Highlighting

May 6, 2010

I can't get work terminal syntax highlighting for other users then root.To get the same result I've created /home/user/.bashrc and added the above options.I've also tried to override LS_OPTIONS in system-wide: /etc/bash.bashrc.In all cases is the highlighting working only for root.

View 1 Replies View Related

Fedora :: XEmacs Syntax Highlighting Does Not Work

Mar 30, 2011

I have installed FEDORA 14 in my machine. I am not able to have the syntax highlighting in the xemacs. I tried a file.f90 for a FORTRAN 90 program . I tried to flag the syntax highlighting in this buffer without success.
Code:
rpm -q xemacs
xemacs-21.5.29-15.fc14.x86_64

View 2 Replies View Related

General :: Enable Syntax Highlighting For .bash_aliases In Vim?

Aug 20, 2010

I'm working on reorganizing my .bashrc. I moved my aliases to .bash_aliases (which is sourced by .bashrc, but I can't figure out how to enable syntax highlighting for this file. vim seems unable to figure out what language the file is in. It works fine for .bashrc.

View 2 Replies View Related

General :: Configuration File For Vi Or Vim Editor For Syntax Highlighting?

Sep 10, 2010

On this Red Hat Box that I am using there is no .vimrc file for the user root. So, I created one and entered only one line to highlight syntax with colors when I am writing scripts in PHP and Bash. But it is not working.

Code:
[root@localhost ~]# cat ~/.vimrc
syntax on

[code]....

View 6 Replies View Related

Slackware :: What Viewer To Use For Viewing Man Pages With Syntax Highlighting

Nov 30, 2010

Is there a utility or method enabling easier navigation (keyword search, hyperlink etc) or color/syntax highlighting when viewing man pages?

View 7 Replies View Related

Ubuntu :: Changing Kate Syntax Highlighting (Font & Colors Schema)

Jan 10, 2010

I'm using a dark theme (Obsidian Coast) which is making things a pain to read using the default LaTeX syntax highlighting and color schema of Kate. I can edit the schema just fine, but that does not affect the colors of certain highlighting features, such as the color of expressions which fill in the ellipses of "section{...}", which turn out black or "egin{...}" which turn out dark blue.

Is there any way to fine-tune the highlighting features of a particular kind of markup (LaTeX in my case)?

View 5 Replies View Related

Ubuntu :: Fortran Syntax Highlighting And Code Folding Editor Wanted?

Jul 27, 2011

I am looking for a text editor that does 1) syntax highlighting2) code folding3) it would be a bonus if I could set which macros were defined and it would show me the source I have tried geany, and codeblocks. Both incorrectly code fold around preprocessor #ifdef and #endif. The gedit plugin doesn't seem to work at all

View 7 Replies View Related

Fedora :: Emacs: Set Syntax Highlighting For Unknown File Type

Mar 20, 2010

How can I tell emacs that a file type that it doesn't recognise should have the same syntax highlighting as one it does?

Xfig produces .pstex files which I want to be highlighted like .ps/.eps

View 2 Replies View Related

General :: Custom Syntax Highlighting In Bash Shell - Using Keywords

Apr 25, 2011

I know it's possible to change the $ user@hostname colors, but is it possible to color different things? Could I make all numbers/integers a certain color. Or set certain keywords to be bold?

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

Applications :: Printing Support (line Numbers - Syntax Highlighting - Multiple Columns Per Page - Customizable Fonts And Sizes) Not Available

Jun 17, 2010

I've been looking though different editors for one that has good printing support. Ideally it should be able to print C++ code with line numbers, syntax highlighting, multiple columns per page, customizable fonts and sizes and a print preview feature so that I can make sure it looks right before sending it to the printer. It appears that notepad++ had at least some of these features, but it is not available on linux. The best I could do so far is to copy/paste the output of 'cat -n foo.cpp' into oowriter and format it into two colums. I don't get synax highlighting though and I have to manually replace tabs with a few spaces as well as some excessive leading spaces before the line numbering.

View 1 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

General :: Can't Open File/abcd/configFiles/vim/syntax/syntax.vim?

Mar 7, 2011

When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.

Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.

But still i keep getting the same error. I am not too sure where this file is mentioned.

Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.

View 1 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

General :: SUSE 10 Syslog-ng Syntax - Bash: Syntax Error Near Unexpected Token "("

Apr 20, 2011

I am a Novell (now defunct) CNE tring to learn Linux and am having a lot of trouble finding out where the WB 6-6 is wrong in the syntax for adding local4... the the syslog-ng config file. In the instructions there are discrepancies between commas and simi-comma, they are both in the statements in no particular order. there is no pattern to them. Here is what the book shows:

filter f_local4debug { level(debug) and facility(local4); };

When I try to input this in the Gnome terminal window to try and find out where it goes wrong I get the following: -bash: syntax error near unexpected token "(" If I can get the correct syntax I belive I can use the info to get past the rest of this portion of the lesson. I am desperate to learn Linux as the only jobs out there for a Novell CNE are migrations to MS, which really sucks, since MS really really sucks.

View 1 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 :: Open Office Highlighting Irritation?

Nov 9, 2010

When I highlight a line in an Open Office doc, I can't find a way to UN-highlight it. Am I missing something obvious

View 4 Replies View Related

OpenSUSE :: Bracket Highlighting In Kile?

May 12, 2011

I have OpenSuse 11.4 with KDE 4.6.2 in my laptop. The version of Kile I am using is 2.0.86. I would like to change the bracket highlight color from Black to Yellow (In previous version of Kile it was yellow). I have found no option to change the bracket highlight color in settings -> configure kile. The documentation says that it is possible but does not mention how. Can anyone help me in this regard ?

View 3 Replies View Related







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