Skip to content

Commit 71a2663

Browse files
committed
DERP
1 parent 3142f72 commit 71a2663

2 files changed

Lines changed: 2 additions & 48 deletions

File tree

.rvmrc

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1 @@
1-
#!/usr/bin/env bash
2-
3-
# This is an RVM Project .rvmrc file, used to automatically load the ruby
4-
# development environment upon cd'ing into the directory
5-
6-
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
7-
environment_id="ruby-1.9.2-p290@hackety-hack.com"
8-
9-
#
10-
# Uncomment following line if you want options to be set only for given project.
11-
#
12-
# PROJECT_JRUBY_OPTS=( --1.9 )
13-
14-
#
15-
# First we attempt to load the desired environment directly from the environment
16-
# file. This is very fast and efficient compared to running through the entire
17-
# CLI and selector. If you want feedback on which environment was used then
18-
# insert the word 'use' after --create as this triggers verbose mode.
19-
#
20-
if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
21-
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
22-
then
23-
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
24-
25-
if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]
26-
then
27-
. "${rvm_path:-$HOME/.rvm}/hooks/after_use"
28-
fi
29-
else
30-
# If the environment file has not yet been created, use the RVM CLI to select.
31-
if ! rvm --create "$environment_id"
32-
then
33-
echo "Failed to create RVM environment '${environment_id}'."
34-
exit 1
35-
fi
36-
fi
37-
38-
#
39-
# If you use an RVM gemset file to install a list of gems (*.gems), you can have
40-
# it be automatically loaded. Uncomment the following and adjust the filename if
41-
# necessary.
42-
#
43-
# filename=".gems"
44-
# if [[ -s "$filename" ]] ; then
45-
# rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
46-
# fi
47-
1+
rvm use --create ruby-1.9.2-p290@hackety-hack.com

script/rails

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env rbx
1+
#!/usr/bin/env ruby
22
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
33

44
APP_PATH = File.expand_path('../../config/application', __FILE__)

0 commit comments

Comments
 (0)