similar to: Rails without Gems?

Displaying 20 results from an estimated 1000 matches similar to: "Rails without Gems?"

2006 Apr 22
3
freeze_gems not freezing all gems?
Hi, I am currently experimenting on rake freeze_gems and there is something I do not understand. When I freeze_gems my app, it puts Rails in the /vendor/ directory, which works. But what about all other gems I have installed (for example Unicode, sqlite support, mysql support and so on)? The aim of freezing is to be independant of the versions of the ISP, but it seems that the server still
2018 Jun 07
3
Slightly OT : write bootable CentOS USB disk under Windows 10 and Mac OS X ?
Hi, I'm currently writing my fourth book about Linux, for the french editor Eyrolles. The book will cover Linux server basics for pros, and it will be based on CentOS 7. I have a quick question to those of you who use either Windows 10 or Mac OS X as their everyday desktop system. How do you write a bootable CentOS USB disk using either Windows 10 or Mac OS X ? I've googled this, of
2006 May 23
7
back-porting 1.1.1 app to 1.0 rails server
I''ve been developing new application on local machine in rails 1.1.1. Hosting provider (godaddy) is at rails 1.0.0 and not upgrading any time soon I''m told. I set "RAILS_GEM_VERSION = ''1.0.0''" in my environment.rb file to get past inital errors, but now I''m getting the following error:
2006 Jan 09
3
Same Zap channel in multiple groups
Does anyone know if it would cause problems to have the same Zap channel in multiple goups? So, for example, if I have two PRIs would the following work or would it cause problems: channel => 1-23 group => 1 channel => 25-47 group => 2 channel => 1-23,25-47 group => 3 I am just curious if anyone has set some thing like this up and how it worked out. Thanks, Patrick
2006 Aug 09
6
How do you desing forms in RoR
Hi all, what is the best way tod esing a form in RoR? Do you use Dreamweaver or something similar? thanks -- Posted via http://www.ruby-forum.com/.
2014 Dec 18
3
X11 console
On Thu, Dec 18, 2014 at 7:20 AM, David Both <dboth at millennium-technology.com> wrote: > +1 > > It can be quite annoying when the X console is changed from one Virtual > Console to another as happens with almost every release of CentOS and > Fedora. I would really like it to be always consistent at Console 7. And the > "real" system console should always be
2012 May 07
2
Statistical power of correlations.
My apologies for the statistical naivete of my question but... Is there an established method or calulating the statistical power of a correlation test? And if so is there a method in R for it? Thank you, Collin Lynch.
2006 Apr 11
15
Migrating rails 1.0 app to 1.1 - Noob question
Hi all, I''ve upgraded my system to Rails 1.1.1 successfully. After much looking I haven''t found out how to migrate an existing application to a new rails version though. What is the procedure, if any, for upgrading the application I''ve developed in 1.0? Is there a script I need to run? -- Posted via http://www.ruby-forum.com/.
2006 Apr 05
6
rake freeze_gems errors
I''m having problems trying to freeze local rails gem to my app with: rake freeze_gems On OSX 10.4.6 i get the following error: Illformed requirement [=#<Gem::Specification name=rails version=1.1.0>] This is the full output: Freezing to the gems for Rails 1.1.0 rm -rf vendor/rails mkdir -p vendor/rails cd vendor/rails Unpacked gem: ''activesupport-1.3.0'' mv
2002 Oct 24
2
source function help
I am new to R and have probably a very simple question... I am using the "source" function to read an R source file called, let's say, "first.r". This file was created in Notepad in Windows 2000. This is a simplistic example, but let's say in this file I have the following commands: x<-c(0,2,3,4,5,6) y<-mean(x) y When I run this source function I assumed
2006 Apr 18
7
freeze_gems to upgrade and SVN
Hi all- I just decided to move from my 1.1.0 to 1.1.2. I had previously frozen to 1.1.0 and therefore had all of rails in SVN in my vendor directory. When I finally got rake freeze_gems to work, it blasted (rm -rf) my vendor/rails directory and put a new one in there. This also blasted all my .svn directories. Is there some convenient way to do a freeze upgrade and play well with SVN?
2004 Dec 02
1
Final comment from a newbie
As a person new to R, I joined the list. I am a long-term member of the Stata list, which has a tradition of being very helpful to newbies. Imagine my surprise when my first day's mail included a rough rebuke to someone for asking a simple question (including mentioning that the poster had been reprimanded about this sort of thing before). In the week I've been on it, there have been
2006 Jan 13
7
installing rails in vendor
Does a rails project automatically switch to using a "local" copy of the rails libs if it exists in the vendor directory, or do I need to tweak something else to pick it up? Thanks! -Theo
2011 Apr 10
3
Adding margin text to lattice graphics
Colleagues I am learning lattice graphics (R 2.12.2; OS X). Several days ago, I inquired about adding margin text to lattice graphics. Jim Price offered a useful reply, suggesting that I add: page = function(page) grid.text('words', x = 0.5, y = 0.01) to my call to the function. The entire function that he suggested was; xyplot(1 ~ 1, par.settings = list(layout.heights =
2006 Mar 28
1
freeze_gems version number
I''m having a lot of problems with typo and rails 1.1 and I am looking for a way to revert back to 1.0 just for specific projects with problems. Is there a way to run, rake freeze_gems, and specify rails 1.0? Thanks -- Joe Clarke
2006 Mar 28
2
Typo 2.6.0 broken with Rails 1.1
Updated today, got Typo 2.6.0 broken with Rails 1.1 (Ruby 1.8.4) -- WEBrick does not start. Is there any workaround except "svn co" with Typo trunk? -- Yaroslav Markin yaroslav at markin dot net
2005 Dec 18
8
Invoking Rails from an API
Hi, I am trying to use ruby int an embedded web server. The environment does not have the luxury of CGI or WebBrick. I find limited documentation on how to get this to work. As a test program on windows, I tried the code in the section below. I have the issues. 1. Is public/dispatch.rb the right script to invoke a rails app? If so, what is the right way to invoke dispatch.rb? 2.
2006 Aug 31
40
Rails Deployment Book
I''ve been mulling over an idea for a book covering Ruby on Rails application deployment. Obvious topics include using Mongrel by itself and with Apache/Lighttpd, load balancers, memcached, and Capistrano. What other topics would you like to see covered in such a book? Cheers, -- Dave Murphy (Schwuk) http://schwuk.com
2006 Apr 18
2
make rails 1.1 code 1.0-compliant
Hello, I''m working on a rails 1.1 app on my mac, but my web host hasn''t upgraded from 1.0 to 1.1 yet, so the below code, which works on my machine, doesn''t work on the web server: # controller def compare_fields name = params[:person][:name] @exists = Album.count(["name like :n", {:n => name}]) render :update do |page| if @exists > 0
2014 Sep 26
2
[LLVMdev] Canonicalizing vector masking.
Hi, I received an internal test case from a game team (it wasn't about this in particular), and I was wondering if there was maybe an opportunity to canonicalize a particular code pattern: %inputi = bitcast <4 x float> %input to <4 x i32> %row0i = and <4 x i32> %inputi, <i32 -1, i32 0, i32 0, i32 0> %row0 = bitcast <4 x i32> %row0i to <4 x float>