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.
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
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.
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
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
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.
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.
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?
This has been bothering me for years now...when I go to remove a thumb drive from my computer, I have two options when I right click the device eject and safely remove. What on earth is the difference supposed to be?
I am the only user on my laptop so there are somethings that I don't need.I would like to remove the login at start. What do I remove to make it go away? Second one is Keyring. Is it necessary? Can I remove it without causing problems?
To remove pendrive when I click the 'safely remove' tab instead of getting removed from the desktop it reappears again. This problem is there in fedora 14
Anyone else seeing this? I do 'safely remove' to remove USB flash drive. disappears. Five seconds (or less) later, it reappears. The second time I do 'safely remove', it stays gone.
Since I plugged in and then unplugged in the firewire port a video camera, I have a note in the bottom-right corner of one of the desktops. It says 'libieee1284-3".
It's not a serious problem at all, I can live with it, but if there was a way to remove this yellow square from my pretty desktop I would like to hear about it .
I tried clicking and right clicking on it; it does nothing except I can access a tiny menu with - apparently - enlarge, refresh and configure buttons. Only the configure button (a spanner) does something, it opens a "configure" box which does not have a "remove" or "delete" option. Rebooting does not remove it.
When using "Add/remove software" application, I only can check packagesh are not installed, I can't choose installed packages which I want to remove, there is no check box in front of their names.So now I have to remove packages with yum. How can I remove packages in this GUI application
I've a dual boot PC having Windows XP along with Ubuntu 8.10 on a single hard disk, Now I've got the 10.04, So I want to install 10.04 to my PC in place of 8.10 leaving Windows as it is.So how can I do this,such that I do not face any booting problem or problem which leads to re installation of Windows which takes so much of time for setting up& also for its other Co-Curricular installation processes.
I'm dual booting ubuntu 10.10 with Windows 7 and I recently installed the kubuntu desktop and greatly prefer it over GNOME. So, my question is, is there any way I can remove the ubuntu desktop? Also, a completely unrelated question, when I start my computer, it goes to a screen where I choose which OS to boot up. The thing is, I originally installed 9.10, and upgraded it to 10.04 then 10.10. So, that screen has all three on there in the format code...
few weeks ago i installed Ubuntu Server 10.10. And after a few day's i installed the GUI with: apt-get install ubuntu-desktop. But now, a few weeks later i want to remove the GUI again. How can i do this and is this possible?
am trying to remove the application sandboxgamemaker and have been using the command: sudo apt-get remove sandboxgamemakerBut I keep getting an error messageDoes anyone have an idea as to what I should do?
My recent attempts at making games work with Wine properly I managed to somehow install a lot of programs and files I do not think I need. I am also a ubuntu novice and I would like to know how to properly remove Microsoft Visual C++. Currently it shows that i have the 2005 C++ installed along with two different versions of 2008 versions as well. Unless I am not understanding something you only need one of those am I correct? When I go thorough the Add/Remove it gives me an error: PROGRAM ERROR the program msiexec.exe has encountered a serious problem and needs to close.
I have a dual boot system with Win XP and Ubuntu 9.10.My problem is, that I am not able to start Ubuntu anymore, it fails to boot. Actually I don't intend to repair it, instead I would like to remove it and free up the space used by the ubuntu partition on my hard drive.i want to save some of my files kept in the linux filesystem, but I can live without them if that is not possible.
I have installed Ubuntu 9.10 with Wubi and uninstalled it. But now i have two bootloaders: GRUB and the XP bootloader with an Ubuntu option that doesn't work.
How do I remove a partition through 9.04? I already have Gparted installed through apt-get. Removing is not a problem, the problem is how the heck do I know which partition I am using? I prevously installed 9.10 before and it went back, so i reinstalled 8.10 through my Linux Guru? friend help (see the question mark? you see why i mean by that). then I, myself, upgraded it to 9.04. When I was reinstalling 8.10, I see two partition on my hard drive, first is NTFS (window xp) and the ext4 partition (but the Live CD see it as ext3 partition). I attempted to delete the ext4 partition, it just did nothing which make me think it did something.
So I refreshed the screen and found out the ext4 is still there. So I ask my Linux Guru friend to help out. He went through custom setting to remove partition and he think he did it. and display a Welcome screen to set up my account. But my guts telling me that he didn't remove the ext4 partition. While he looking away, i went back to the partitioner screen and found out it still there. So i was like screw it and went ahead to create a new partition for 8.10 (but it shorten my Window partition which i need that for important things.) After installation, everything went ok. So i went back to my place and "sudo apt-get gparted" to bring up the GUI Parted. that where strange thing puzzled me. the Ubuntu 8.10 i am using show 50 GB filesystem, but Gparted show 60 and 70 GB ext 3 partition. I was confused how Gparted think i have more GB than what i set for. So I went to the root directory of my 8.10 then right click>proprieties to get the GB info.
Then it displayed that I have around 65GB filesystem. I was puzzled why it showing that. So i thought possible if i mount the ext4 partition and able to get the right info. But as usual, it can't mount the ext4 partition as error said but my Gparted show they both a ext3 Partition, not one of them displayed ext4. Both of them are ext3. So I remember that I give my ext4 partition more GB than my 8.10 and found one partition. But when I checked the 70GB partition properties. It said it is mounted but the 60GB one is not mounted. I was puzzled why my ext4 is mounted but my ext3 is not mounted. Again I am not using LiveCD this time. I am using my 8.10 partition and on the desktop with Gparted open. So I just decided to gamble it and tell gparted to remove the "ext3" 70GB. But error show up and said something that it cant be removed because it is mounted.
I was sitting there and wondering "how the heck did my 8.10 is using my ext4 filesystem if it can't mount it on the desktop but it can mount fine through Gparted?" I am trying to understand what is happening. The reason why i want to remove the ext4 partition, so i can give back that partition to my NTFS partition, giving back the space that my window need for my important things.Now I remember why it couldn't remove the partition. I thought it was a mount issue but I remember something. The ext4 partition is under Sda4 and sda5 while my current partition is using sda6 and sda7. So when i attempt to remove Sda4 and sda5, it said it can't remove because of the level of sda.